summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2008-09-04 19:15:52 +0000
committertruebrain <truebrain@openttd.org>2008-09-04 19:15:52 +0000
commit2f350316b6bed45fdb2fad529a497c97c5b99d88 (patch)
tree5db1fd879dbc462dee07e52463ad26d7980398d7
parent236c61336558d542135f3f64ecb6bc3c54c91666 (diff)
downloadopenttd-2f350316b6bed45fdb2fad529a497c97c5b99d88.tar.xz
(svn r14244) -Fix: add 'Auto-generated' text when autogenerated, not in template (complain by blathijs ;))
-rw-r--r--Makefile.in2
-rw-r--r--Makefile.lang.in2
-rw-r--r--Makefile.src.in2
-rw-r--r--config.lib9
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
}