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:11 +0000
commita8833932ccd4c694601f003281127e33037c9139 (patch)
treec20c3aa773a9e418618c1b14a08f0262272cc890
parent145b2250641f8b4b701ce94e7fe0fb0d6006a117 (diff)
downloadbautomake-a8833932ccd4c694601f003281127e33037c9139.tar.bz2
bautomake-a8833932ccd4c694601f003281127e33037c9139.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