X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=Makefile.am;h=ff252e6021cd5497d3a4074e9e37592c768c9647;hp=69f0c7756ac39809576a7abebc72ffca1b292d6a;hb=ba528215fef66b50223260f79bc255339cc2448c;hpb=ce21a1444df4cce5308ac69deaae903b82994e36 diff --git a/Makefile.am b/Makefile.am old mode 100644 new mode 100755 index 69f0c77..ff252e6 --- a/Makefile.am +++ b/Makefile.am @@ -1,15 +1,21 @@ -SUBDIRS = lib main data po tools +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 := ar ca cs da de el en es fi fr fy hr hu is it lt lv nl no pl pt ru sv sk sl sr tr uk +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = enigma2.pc + +metadir = $(datadir)/meta +meta_DATA = index-enigma2.xml +CLEANFILES = index-enigma2.xml + +EXTRA_DIST = lamedb -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; +index-enigma2.xml: $(top_srcdir)/tools/genmetaindex.py $(top_srcdir)/lib/python/Plugins/*/*/meta/plugin_*.xml + $(AM_V_GEN)$(PYTHON) $^ > $@