summaryrefslogtreecommitdiff
path: root/openwrt/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
commit613b92a4f59f0c9993b4dc0b104a9e0a49539d8b (patch)
tree6a665c4ec719846e067bd12534b69fbda7715069 /openwrt/package/libgd
parent2f3454997f869ebabbe5d34b15a077f30ca8df33 (diff)
Fix uninstall-dev: remove gdlib-config too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1038 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/libgd')
-rw-r--r--openwrt/package/libgd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/openwrt/package/libgd/Makefile b/openwrt/package/libgd/Makefile
index 50ca47f801..c180dd8151 100644
--- a/openwrt/package/libgd/Makefile
+++ b/openwrt/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