summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-05-23 14:43:19 +0000
committermidipix <writeonce@midipix.org>2021-05-23 14:48:22 +0000
commite6281a53f3bbe5ab059b6ac03f608de17e8ddb7f (patch)
tree07d167665ca94c6f5c78d9b0b47f52f31d58bff4 /configure
parent4b6573d704749fc87f421abbccde548b6b661ef7 (diff)
downloadntcon-e6281a53f3bbe5ab059b6ac03f608de17e8ddb7f.tar.bz2
ntcon-e6281a53f3bbe5ab059b6ac03f608de17e8ddb7f.tar.xz
build system: reserve the file-name Makefile.common for bootstrapping projects.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index a235b5e..8424799 100755
--- a/configure
+++ b/configure
@@ -317,6 +317,13 @@ verify_build_directory()
fi
fi
+ if [ -f "$mb_pwd/Makefile.common" ]; then
+ error_msg
+ error_msg "$mb_package: the file-name Makefile.common is reserved for bootstrapping projects."
+ error_msg "$mb_package: please remove or rename the file manually and then re-run configure."
+ exit 1
+ fi
+
rm -f Makefile Makefile.host Makefile.tmp Makefile.failed $mb_makefile
output_step_epilog