aboutsummaryrefslogtreecommitdiffstats
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
commit7c7d2568dfa6d1ad5817d55b5d0ad95e2a8b6211 (patch)
tree6a665c4ec719846e067bd12534b69fbda7715069
parent5ed428670bad16fff68d6e60d250d48bec7c9725 (diff)
downloadupstream-7c7d2568dfa6d1ad5817d55b5d0ad95e2a8b6211.tar.gz
upstream-7c7d2568dfa6d1ad5817d55b5d0ad95e2a8b6211.tar.bz2
upstream-7c7d2568dfa6d1ad5817d55b5d0ad95e2a8b6211.zip
Fix uninstall-dev: remove gdlib-config too
SVN-Revision: 1038
-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