From 2f350316b6bed45fdb2fad529a497c97c5b99d88 Mon Sep 17 00:00:00 2001 From: truebrain Date: Thu, 4 Sep 2008 19:15:52 +0000 Subject: (svn r14244) -Fix: add 'Auto-generated' text when autogenerated, not in template (complain by blathijs ;)) --- Makefile.in | 2 -- Makefile.lang.in | 2 -- Makefile.src.in | 2 -- config.lib | 9 ++++++--- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Makefile.in b/Makefile.in index cec727b46..cc212b1c5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,5 +1,3 @@ -# Auto-generated file -- DO NOT EDIT - # Check if we want to show what we are doing ifdef VERBOSE Q = diff --git a/Makefile.lang.in b/Makefile.lang.in index 11b12ddd2..18db5a613 100644 --- a/Makefile.lang.in +++ b/Makefile.lang.in @@ -1,5 +1,3 @@ -# Auto-generated file -- DO NOT EDIT - STRGEN = !!STRGEN!! ENDIAN_CHECK = !!ENDIAN_CHECK!! SRC_DIR = !!SRC_DIR!! diff --git a/Makefile.src.in b/Makefile.src.in index d2b83fcf8..585a4cd45 100644 --- a/Makefile.src.in +++ b/Makefile.src.in @@ -1,5 +1,3 @@ -# Auto-generated file -- DO NOT EDIT - CC_HOST = !!CC_HOST!! CXX_HOST = !!CXX_HOST!! CC_BUILD = !!CC_BUILD!! diff --git a/config.lib b/config.lib index 3a2c06869..9d7006336 100644 --- a/config.lib +++ b/config.lib @@ -2375,7 +2375,8 @@ generate_main() { # Create the main Makefile echo "Generating Makefile..." - < $ROOT_DIR/Makefile.in sed "$SRC_REPLACE" > Makefile + echo "# Auto-generated file from 'Makefile.in' -- DO NOT EDIT" > Makefile + < $ROOT_DIR/Makefile.in sed "$SRC_REPLACE" >> Makefile cp $ROOT_DIR/Makefile.bundle.in Makefile.bundle echo "# Auto-generated file -- DO NOT EDIT" > Makefile.am echo >> Makefile.am @@ -2401,7 +2402,8 @@ generate_lang() { mkdir -p $LANG_OBJS_DIR echo "Generating lang/Makefile..." - < $ROOT_DIR/Makefile.lang.in sed "$SRC_REPLACE" > $LANG_OBJS_DIR/Makefile + echo "# Auto-generated file from 'Makefile.lang.in' -- DO NOT EDIT" > $LANG_OBJS_DIR/Makefile + < $ROOT_DIR/Makefile.lang.in sed "$SRC_REPLACE" >> $LANG_OBJS_DIR/Makefile echo "DIRS += $LANG_OBJS_DIR" >> Makefile.am echo "LANG_DIRS += $LANG_OBJS_DIR" >> Makefile.am } @@ -2415,7 +2417,8 @@ generate_src_normal() { mkdir -p $SRC_OBJS_DIR echo "Generating $2/Makefile..." - < $ROOT_DIR/Makefile.src.in sed "$SRC_REPLACE" > $SRC_OBJS_DIR/Makefile + echo "# Auto-generated file from 'Makefile.src.in' -- DO NOT EDIT" > $SRC_OBJS_DIR/Makefile + < $ROOT_DIR/Makefile.src.in sed "$SRC_REPLACE" >> $SRC_OBJS_DIR/Makefile echo "DIRS += $SRC_OBJS_DIR" >> Makefile.am echo "SRC_DIRS += $SRC_OBJS_DIR" >> Makefile.am } -- cgit v1.2.3-70-g09d2