fix makefile warning
[openwrt.git] / openwrt / package / libpng / patches / 101-pkgconfig-install.patch
1 --- libpng-1.2.8-config/Makefile.in.orig 2004-12-03 01:14:51.000000000 +0100
2 +++ libpng-1.2.8-config/Makefile.in 2005-05-18 14:17:31.000000000 +0200
3 @@ -874,13 +874,13 @@
4 cp libpng.pc libpng12.pc
5
6 install-data-local: libpng.pc libpng12.pc
7 - @INSTALL@ -d @PKGCONFIGDIR@
8 - @INSTALL_DATA@ libpng.pc @PKGCONFIGDIR@
9 - @INSTALL_DATA@ libpng12.pc @PKGCONFIGDIR@
10 + @INSTALL@ -d $(DESTDIR)@PKGCONFIGDIR@
11 + @INSTALL_DATA@ libpng.pc $(DESTDIR)@PKGCONFIGDIR@
12 + @INSTALL_DATA@ libpng12.pc $(DESTDIR)@PKGCONFIGDIR@
13
14 uninstall-local:
15 - rm -f @PKGCONFIGDIR@/libpng.pc
16 - rm -f @PKGCONFIGDIR@/libpng12.pc
17 + rm -f $(DESTDIR)@PKGCONFIGDIR@/libpng.pc
18 + rm -f $(DESTDIR)@PKGCONFIGDIR@/libpng12.pc
19
20 libpng-config:
21 ( cat ${srcdir}/scripts/libpng-config-head.in; \
This page took 0.046186 seconds and 5 git commands to generate.