Fix uninstall-dev: remove gdlib-config too

SVN-Revision: 1038
This commit is contained in:
Nicolas Thill 2005-05-24 00:42:36 +00:00
parent 5ed428670b
commit 7c7d2568df

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