[include] autotools.mk: touch NEWS, AUTHORS, COPYING and ChangeLog, automake wants...
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 2148f40..b2911d4 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)) \