summaryrefslogtreecommitdiff
path: root/package/libgd
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-24 00:42:36 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-24 00:42:36 +0000
commit48359773c270acdeb7cbb5f0ba4d418a6ca3d04d (patch)
tree06ae46227f800567b22f7ae54b351cc4a59eecd4 /package/libgd
parent2c995b689228a38f6e42840ced0bc214f02c3c8c (diff)
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/libgd')
-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