diff options
author | midipix <writeonce@midipix.org> | 2018-12-25 04:16:05 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-25 05:13:54 -0500 |
commit | a14debcd6241408fbfe3d0d59cfb5998d0183602 (patch) | |
tree | 8c931eb103a092dd1fd925f6eb5714e1b7850f8f /configure | |
parent | 8e7ed33828cbe7c457633fad6edfa501d2b98d3b (diff) | |
download | sbpython3-a14debcd6241408fbfe3d0d59cfb5998d0183602.tar.bz2 sbpython3-a14debcd6241408fbfe3d0d59cfb5998d0183602.tar.xz |
build system: Makefile.in: always include cfgdefs.mk & usrdefs.mk.
The purpose of this commit is twofold; from the user's perspective, this
provides a consistent experience whenever building a sofort-based project;
and from the developer's perspective, this provides an easy way to test
cfgdefs.mk even before the writing and/or integration of cfgdefs.sh.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -63,13 +63,18 @@ init_vars() # project-specific config definitions if [ _$mb_use_custom_cfgdefs = _yes ]; then - cat < /dev/null > cfgdefs.mk + cat $mb_project_dir/sofort/cfgdefs.in \ + > cfgdefs.mk + else + printf '%s %s\n\n' \ + '# this project does not include' \ + 'a custom config step.' \ + > cfgdefs.mk + cat $mb_project_dir/sofort/cfgdefs.in >> cfgdefs.mk fi # user build-time overrides - if [ _$mb_use_custom_usrdefs = _yes ]; then - touch usrdefs.mk - fi + touch usrdefs.mk # project mb_nickname=$NICKNAME |