summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-05-23 16:41:08 +0000
committermidipix <writeonce@midipix.org>2021-05-23 16:42:12 +0000
commit2a2f7900419677ad0f66dee467e845ebe917cb27 (patch)
tree98a97840515abab9d2bd6d47b5014a044a3f3723
parent0784869db49b176052139f00cd93f591f3b6a722 (diff)
downloadbfirm-2a2f7900419677ad0f66dee467e845ebe917cb27.tar.bz2
bfirm-2a2f7900419677ad0f66dee467e845ebe917cb27.tar.xz
build system: configure: support project-specific make-file templates.
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index d7c5121..59c3bc9 100755
--- a/configure
+++ b/configure
@@ -804,6 +804,12 @@ config_custom()
eval config_custom_cfgdefs "$mb_custom_cfgdefs_args"
output_section_break
+
+ if [ -f "$mb_project_dir/project/config/Makefile.in" ]; then
+ config_copy "$mb_project_dir/project/config/Makefile.in"
+ mv $mb_pwd/Makefile.tmp Makefile
+ fi
+
config_copy
fi