lots of small package changes and dependency cleanups for the V= stuff
[openwrt/svn-archive/archive.git] / openwrt / package / libupnp / Makefile
index 88c48e75134488453656122b9db9f849e4115d26..d09f60d64aab2da6a7f1e3b79a1d0865e5f779e6 100644 (file)
@@ -21,7 +21,7 @@ $(eval $(call PKG_template,LIBUPNP,libupnp,$(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)/upnp \
                $(TARGET_CONFIGURE_OPTS) \
                OPT_FLAGS="$(TARGET_CFLAGS)" \
@@ -54,5 +54,5 @@ uninstall-dev:
                $(STAGING_DIR)/usr/lib/libthreadutil.so \
                $(STAGING_DIR)/usr/lib/libupnp.so \
 
-compile: install-dev
-clean: uninstall-dev
+compile-targets: install-dev
+clean-targets: uninstall-dev