summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-24 20:13:30 +0000
committermidipix <writeonce@midipix.org>2021-04-24 20:29:15 +0000
commit8e0aaf53cccf4d4d10bf6f3a608fa9f658f8d8ec (patch)
treee0435a2994526e61328f9f8d6fe32755cd2d9529
parenta28efc44bb9be9ec555ce3cac87349c8e04d95e7 (diff)
downloadsbpython2-8e0aaf53cccf4d4d10bf6f3a608fa9f658f8d8ec.tar.bz2
sbpython2-8e0aaf53cccf4d4d10bf6f3a608fa9f658f8d8ec.tar.xz
build system: allow projects to specify an alternate Makefile name.
-rwxr-xr-xconfigure5
-rw-r--r--sofort/config/config.vars1
2 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 283b7c8..c1e0be5 100755
--- a/configure
+++ b/configure
@@ -837,6 +837,11 @@ config_host()
config_fini()
{
+ # rename Makefile as needed
+ if [ -n "$mb_makefile" ]; then
+ mv $mb_pwd/Makefile $mb_pwd/$mb_makefile
+ fi
+
# project-specific post-configuration steps
if [ _$mb_use_custom_cfgfini = _yes ]; then
. "$mb_project_dir/project/config/cfgfini.sh"
diff --git a/sofort/config/config.vars b/sofort/config/config.vars
index f3ea78e..903abd5 100644
--- a/sofort/config/config.vars
+++ b/sofort/config/config.vars
@@ -39,6 +39,7 @@ srcball_sha256
make
+makefile
makemode
build