[linux-dvb] [patch 1/6] honor DESTDIR and libdir in order to ease rpm builds

Andreas Oberritter obi at linuxtv.org
Fri Sep 8 00:31:35 CEST 2006


Hallo Ludwig,

Ludwig Nussel wrote:
> @@ -46,16 +50,16 @@
>  	$(RM) -f $(prerequisites) $(objects) $(libraries) $(binaries) $(removing) *~
>  install::
>  ifneq ($(includes),)
> -	mkdir -p $(prefix)/include/$(lib_name)
> -	install -m 644 $(includes) $(prefix)/include/$(lib_name)/
> +	mkdir -p $(DESTDIR)$(prefix)/include/$(lib_name)
> +	install -m 644 $(includes) $(DESTDIR)$(prefix)/include/$(lib_name)/
>  endif
>  ifneq ($(libraries),)
> -	mkdir -p $(prefix)/lib
> -	install -m 644 $(libraries) $(prefix)/lib/
> +	mkdir -p $(DESTDIR)$(libdir)
> +	install -m 644 $(libraries) $(libdir)

$(DESTDIR) seems to be missing in the last line.

Regards,
Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20060908/97560f67/signature-0001.pgp


More information about the linux-dvb mailing list