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

Christoph Pfister christophpfister at gmail.com
Thu Sep 7 20:10:04 CEST 2006


Hi,

Am Donnerstag, 7. September 2006 15:08 schrieb Ludwig Nussel:
> 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

Ok.

> --- 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

Won't add it because those channel files are outdated ... and szap will be 
replaced by gnutv sooner or later.

Christoph



More information about the linux-dvb mailing list