[linux-dvb] [patch 2/6] install data files again

Ludwig Nussel ludwig.nussel at suse.de
Thu Sep 7 15:08:19 CEST 2006


Change got lost during Makefile refactoring

Signed-off-by: lnussel at suse.de

diff -r fe16c6d0fbc5 util/av7110_loadkeys/Makefile
--- a/util/av7110_loadkeys/Makefile	Thu Sep  7 12:03:07 2006
+++ b/util/av7110_loadkeys/Makefile	Thu Sep  7 14:03:18 2006
@@ -17,3 +17,7 @@
 	$(SHELL) generate-keynames.sh $@
 
 include ../../Make.rules
+
+install::
+	install -m755 -d $(DESTDIR)$(datadir)/dvb/av7110_loadkeys
+	install -m644 *.rc5 *.rcmm $(DESTDIR)$(datadir)/dvb/av7110_loadkeys/
diff -r fe16c6d0fbc5 util/scan/Makefile
--- a/util/scan/Makefile	Thu Sep  7 12:03:07 2006
+++ b/util/scan/Makefile	Thu Sep  7 14:03:18 2006
@@ -29,3 +29,10 @@
 	perl section_generate.pl atsc_psip_section.pl
 
 include ../../Make.rules
+
+install::
+	test "$(datadir)/" != "/"
+	install -m755 -d $(DESTDIR)$(datadir)/dvb
+	for d in dvb-* atsc ; do test -d $$d || continue ; echo ..... $$d ..... \
+	; install -m755 -d $(DESTDIR)$(datadir)/dvb/scan/$$d/ \
+	; install -m644 `find $$d -type f` $(DESTDIR)$(datadir)/dvb/scan/$$d/ ; done
diff -r fe16c6d0fbc5 util/szap/Makefile
--- a/util/szap/Makefile	Thu Sep  7 12:03:07 2006
+++ b/util/szap/Makefile	Thu Sep  7 14:03:18 2006
@@ -18,3 +18,10 @@
 $(binaries): $(objects)
 
 include ../../Make.rules
+
+install::
+	test "$(datadir)/" != "/"
+	install -m755 -d $(DESTDIR)$(datadir)/dvb/zap
+	for d in dvb-{s,c,t} atsc ; do test -d channels-conf/$$d || continue ; echo ..... $$d ..... \
+	; install -m755 -d $(DESTDIR)$(datadir)/dvb/zap/$$d/ \
+	; install -m644 `find channels-conf/$$d -type f` $(DESTDIR)$(datadir)/dvb/zap/$$d/ ; done

--
 (o_   Ludwig Nussel
 //\   SUSE LINUX Products GmbH, Development
 V_/_  http://www.suse.de/



More information about the linux-dvb mailing list