aboutsummaryrefslogtreecommitdiffstats
path: root/package/cgilib
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-10-22 12:12:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-10-22 12:12:59 +0000
commit8b8c9d4d6e70172075340cc98ca0b5a3850a0e97 (patch)
treee48fd90e059253eaa9bc13f166d06e3ecad818ef /package/cgilib
parent43cc1b7107138cb7cacae51459e05df5bfcbb384 (diff)
downloadupstream-8b8c9d4d6e70172075340cc98ca0b5a3850a0e97.tar.gz
upstream-8b8c9d4d6e70172075340cc98ca0b5a3850a0e97.tar.bz2
upstream-8b8c9d4d6e70172075340cc98ca0b5a3850a0e97.zip
lots of small package changes and dependency cleanups for the V= stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2230 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/cgilib')
-rw-r--r--package/cgilib/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/package/cgilib/Makefile b/package/cgilib/Makefile
index 3e17975c1e..9a0534fe5d 100644
--- a/package/cgilib/Makefile
+++ b/package/cgilib/Makefile
@@ -20,7 +20,7 @@ $(eval $(call PKG_template,CGILIB,cgilib,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured:
touch $@
-$(PKG_BUILD_DIR)/.built:
+$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
OFLAGS="$(TARGET_CFLAGS)" \
@@ -41,11 +41,10 @@ $(STAGING_DIR)/usr/lib/libcgi.so: $(PKG_BUILD_DIR)/.built
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libcgi.so
-
uninstall-dev:
rm -rf \
$(STAGING_DIR)/usr/include/cgi.h \
$(STAGING_DIR)/usr/lib/libcgi.{a,so*} \
-compile: install-dev
-clean: uninstall-dev
+compile-targets: install-dev
+clean-targets: uninstall-dev