summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2011-03-03 21:08:20 +0000
committeralberth <alberth@openttd.org>2011-03-03 21:08:20 +0000
commit91ddf07c80b82e780fae8e6212a20f9afc031a80 (patch)
tree6e1bd5cee3df6f389ce83a46c3c9bce8546a1675 /configure
parent7477f92029d76c086cce29c333980713ddc14828 (diff)
downloadopenttd-91ddf07c80b82e780fae8e6212a20f9afc031a80.tar.xz
(svn r22174) -Add: Generate the settings as part of the unix build process without using it (Rubidium)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index e9c473b36..c80fb2f23 100755
--- a/configure
+++ b/configure
@@ -48,6 +48,7 @@ OBJS_DIR="$PWD/objs"
BASE_SRC_OBJS_DIR="$OBJS_DIR"
LANG_OBJS_DIR="$OBJS_DIR/lang"
GRF_OBJS_DIR="$OBJS_DIR/extra_grf"
+SETTING_OBJS_DIR="$OBJS_DIR/setting"
BIN_DIR="$PREFIX"
SRC_DIR="$ROOT_DIR/src"
LANG_DIR="$SRC_DIR/lang"
@@ -82,6 +83,7 @@ TTD="openttd$EXE"
STRGEN="strgen$EXE"
ENDIAN_CHECK="endian_check$EXE"
DEPEND="depend$EXE"
+SETTINGSGEN="settings_gen$EXE"
if [ -z "$sort" ]; then
PIPE_SORT="sed s@a@a@"
@@ -161,10 +163,11 @@ else
sort="$sort -u"
fi
-CONFIGURE_FILES="$ROOT_DIR/configure $ROOT_DIR/config.lib $ROOT_DIR/Makefile.in $ROOT_DIR/Makefile.grf.in $ROOT_DIR/Makefile.lang.in $ROOT_DIR/Makefile.src.in $ROOT_DIR/Makefile.bundle.in"
+CONFIGURE_FILES="$ROOT_DIR/configure $ROOT_DIR/config.lib $ROOT_DIR/Makefile.in $ROOT_DIR/Makefile.grf.in $ROOT_DIR/Makefile.lang.in $ROOT_DIR/Makefile.src.in $ROOT_DIR/Makefile.bundle.in $ROOT_DIR/Makefile.setting.in"
generate_main
generate_lang
+generate_settings
generate_grf
generate_src