Move out some generic code to prevent autotools from re-creating files
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 2 Nov 2006 22:44:38 +0000 (22:44 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 2 Nov 2006 22:44:38 +0000 (22:44 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5384 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/package.mk

index 5636b0b..8a10569 100644 (file)
@@ -290,6 +290,12 @@ define Build/Prepare
 endef
 
 define Build/Configure/Default
+       (cd $(PKG_BUILD_DIR) ; \
+               [ -e configure.in ] && touch configure.in ; \
+               [ -e aclocal.m4 ] && touch aclocal.m4 ; \
+               [ -e Makefile.in ] && touch Makefile.in ; \
+               [ -e configure ] && touch configure ; \
+       );
        (cd $(PKG_BUILD_DIR)/$(strip $(3)); \
        if [ -x configure ]; then \
                $(TARGET_CONFIGURE_OPTS) \
This page took 0.024405 seconds and 4 git commands to generate.