try to prevent autoheader/autoconf/automake invocation, add Id tag
authorNicolas Thill <nico@openwrt.org>
Sat, 8 Oct 2005 14:00:32 +0000 (14:00 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 8 Oct 2005 14:00:32 +0000 (14:00 +0000)
SVN-Revision: 2074

openwrt/package/mtr/Makefile

index 97b3cf27877ad7c4db04dcb778049a4918868fc0..ade9df72fee37152c4faba42a679b0b924714e65 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mtr
@@ -16,7 +18,14 @@ include $(TOPDIR)/package/rules.mk
 $(eval $(call PKG_template,MTR,mtr,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
 $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
-       (cd $(PKG_BUILD_DIR); \
+       (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
+               touch configure.in; \
+               touch aclocal.m4; \
+               touch Makefile.in; \
+               touch img/Makefile.in; \
+               touch stamp-h.in; \
+               touch config.h.in; \
+               touch configure; \
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS)" \
                CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \