Skip to content

Commit

Permalink
fix install rules for index-enigma2.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
mtdcr committed Nov 16, 2010
1 parent 45d1924 commit d5dd2cf
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ SUBDIRS = include lib main data po tools
ACLOCAL_AMFLAGS = -I m4

installdir = $(pkglibdir)/python

install_PYTHON = \
Navigation.py NavigationInstance.py RecordTimer.py SleepTimer.py ServiceReference.py \
keyids.py keymapparser.py mytest.py skin.py timer.py tools.py GlobalActions.py \
e2reactor.py

install-exec-hook:
$(PYTHON) $(srcdir)/tools/genmetaindex.py $(DESTDIR)$(datadir)/meta/plugin_*.xml > $(DESTDIR)$(datadir)/meta/index-enigma2.xml
metadir = $(datadir)/meta
meta_DATA = index-enigma2.xml
CLEANFILES = index-enigma2.xml

EXTRA_DIST = lamedb

uninstall-hook:
$(RM) $(DESTDIR)$(datadir)/meta/index-enigma2.xml
index-enigma2.xml: $(top_srcdir)/tools/genmetaindex.py $(top_srcdir)/lib/python/Plugins/*/*/meta/plugin_*.xml
$(PYTHON) $^ > $@

0 comments on commit d5dd2cf

Please sign in to comment.