aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-24 00:42:36 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-24 00:42:36 +0000
commitb06ec80d6ebbf75db11cd7d8fb54c88f6db74ef7 (patch)
tree06ae46227f800567b22f7ae54b351cc4a59eecd4 /package
parent9f78c00ac26e80f4f9d855ef0300be1c29fe6fc0 (diff)
downloadupstream-b06ec80d6ebbf75db11cd7d8fb54c88f6db74ef7.tar.gz
upstream-b06ec80d6ebbf75db11cd7d8fb54c88f6db74ef7.tar.bz2
upstream-b06ec80d6ebbf75db11cd7d8fb54c88f6db74ef7.zip
Fix uninstall-dev: remove gdlib-config too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1038 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/libgd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/libgd/Makefile b/package/libgd/Makefile
index 50ca47f801..c180dd8151 100644
--- a/package/libgd/Makefile
+++ b/package/libgd/Makefile
@@ -77,14 +77,16 @@ $(STAGING_DIR)/usr/lib/libgd.so: $(PKG_BUILD_DIR)/.built
cp -fpR $(PKG_INSTALL_DIR)/usr/include/gd*.h $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libgd.{a,so*} $(STAGING_DIR)/usr/lib/
+ touch $@
install-dev: $(STAGING_DIR)/usr/lib/libgd.so
uninstall-dev:
rm -rf \
- $(STAGING_DIR)/usr/include/entities.h \
- $(STAGING_DIR)/usr/include/gd*.h \
- $(STAGING_DIR)/usr/lib/libgd.{a,so*}
+ $(STAGING_DIR)/usr/bin/gdlib-config \
+ $(STAGING_DIR)/usr/include/entities.h \
+ $(STAGING_DIR)/usr/include/gd*.h \
+ $(STAGING_DIR)/usr/lib/libgd.{a,so*} \
compile: install-dev
clean: uninstall-dev