X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=Makefile.am;h=6935fa6d70919445cbbaf87a5c202af41189c9df;hp=0ba310fa6910f77925a029afdd9e15e2a37ce5c3;hb=059c9a03c8cc02b0c595e3a5599be04dc157f725;hpb=b7ebc25eb39de9b564be52626b07e8ecba810d9c diff --git a/Makefile.am b/Makefile.am old mode 100644 new mode 100755 index 0ba310f..6935fa6 --- a/Makefile.am +++ b/Makefile.am @@ -1,18 +1,18 @@ SUBDIRS = include lib main data po tools -installdir = $(pkglibdir)/python +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 -LANGS := $(shell cat $(srcdir)/po/LINGUAS) +metadir = $(datadir)/meta +meta_DATA = index-enigma2.xml +CLEANFILES = index-enigma2.xml -install-exec-hook: - for lang in $(LANGS); do \ - $(PYTHON) $(srcdir)/tools/genmetaindex.py $$lang $(DESTDIR)$(pkgdatadir)/meta/enigma2/plugin_*.xml > $(DESTDIR)$(pkgdatadir)/meta/enigma2/index_$$lang.xml; \ - done +EXTRA_DIST = lamedb -uninstall-hook: - $(RM) $(DESTDIR)$(pkgdatadir)/meta/enigma2/index_*.xml +index-enigma2.xml: $(top_srcdir)/tools/genmetaindex.py $(top_srcdir)/lib/python/Plugins/*/*/meta/plugin_*.xml + $(PYTHON) $^ > $@