diff options
author | midipix <writeonce@midipix.org> | 2018-12-13 07:58:29 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-13 11:23:59 -0500 |
commit | a0744ff23795e986e12f0e2731914d77339694c0 (patch) | |
tree | 38637b60cb943e8f93bd2c0d60ee5564d5e61ca5 /configure | |
parent | ea9d5eb64c5642d6ba2ffedec4c74db088668f86 (diff) | |
download | dalist-a0744ff23795e986e12f0e2731914d77339694c0.tar.bz2 dalist-a0744ff23795e986e12f0e2731914d77339694c0.tar.xz |
build system: configure: cfgdefs.mk must always be written from scratch.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -57,6 +57,16 @@ init_vars() . "$mb_config" || exit 2 fi + # project-specific config definitions + if [ $mb_use_custom_cfgdefs = 'yes' ]; then + cat < /dev/null > cfgdefs.mk + fi + + # user build-time overrides + if [ $mb_use_custom_usrdefs = 'yes' ]; then + touch usrdefs.mk + fi + # project mb_nickname=$NICKNAME mb_source_dir=$SOURCE_DIR @@ -579,14 +589,6 @@ config_copy() -e 's^@use_custom_usrdefs@^'"$mb_use_custom_usrdefs"'^g' \ $mb_project_dir/Makefile.in > $mb_pwd/Makefile.tmp || exit 2 - if [ $mb_use_custom_cfgdefs = 'yes' ]; then - touch cfgdefs.mk - fi - - if [ $mb_use_custom_usrdefs = 'yes' ]; then - touch usrdefs.mk - fi - if [ -z "$mb_cchost" ]; then if [ "$mb_host" = 'native' ]; then mb_cchost=`make -s -f $mb_pwd/Makefile.tmp cchost` |