autotools.mk: touch NEWS, AUTHORS, COPYING and ChangeLog, automake wants them
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Dec 2010 06:05:41 +0000 (06:05 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Dec 2010 06:05:41 +0000 (06:05 +0000)
SVN-Revision: 24588

include/autotools.mk

index 2148f40cfd8584abb6f776379b1f21da68c61a6d..b2911d45fe3217cc9ee5288e2e7e6f504468b0ab 100644 (file)
@@ -35,6 +35,7 @@ define autoreconf
                        if [ -f $(p)/configure.ac ] || [ -f $(p)/configure.in ]; then \
                                [ -f $(p)/aclocal.m4 ] && [ ! -f $(p)/acinclude.m4 ] && mv aclocal.m4 acinclude.m4; \
                                [ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \
+                               touch NEWS AUTHORS COPYING ChangeLog; \
                                $(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
                                        -B $(STAGING_DIR_HOST)/share/aclocal \
                                        $(patsubst %,-B %,$(5)) \