summaryrefslogtreecommitdiff
path: root/openwrt/package/cgilib/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-22 12:12:59 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-22 12:12:59 +0000
commit1f96d69f566aa785c0f0fb4fb25e6198a96bb4c3 (patch)
tree3a8d2dbe1cbd55d44f3348a768356c53977a2d0e /openwrt/package/cgilib/Makefile
parent163fe567de49fa993f2b35cb469a87868adffa72 (diff)
lots of small package changes and dependency cleanups for the V= stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2230 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/cgilib/Makefile')
-rw-r--r--openwrt/package/cgilib/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/openwrt/package/cgilib/Makefile b/openwrt/package/cgilib/Makefile
index 3e17975c1e..9a0534fe5d 100644
--- a/openwrt/package/cgilib/Makefile
+++ b/openwrt/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