Fix uninstall-dev: remove gdlib-config too

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1038 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Nicolas Thill 2005-05-24 00:42:36 +00:00
parent 9f78c00ac2
commit b06ec80d6e
1 changed files with 5 additions and 3 deletions

View File

@ -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