summaryrefslogtreecommitdiff
path: root/config.lib
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 /config.lib
parent236c61336558d542135f3f64ecb6bc3c54c91666 (diff)
downloadopenttd-2f350316b6bed45fdb2fad529a497c97c5b99d88.tar.xz
(svn r14244) -Fix: add 'Auto-generated' text when autogenerated, not in template (complain by blathijs ;))
Diffstat (limited to 'config.lib')
-rw-r--r--config.lib9
1 files changed, 6 insertions, 3 deletions
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
}