diff options
author | Julien Rioux <jrioux@physics.utoronto.ca> | 2011-12-19 04:40:22 -0500 |
---|---|---|
committer | Julien Rioux <jrioux@physics.utoronto.ca> | 2012-01-16 01:30:20 -0500 |
commit | 63759dacd7a929df05502278c1e3c1a7be56942b (patch) | |
tree | 5877a9a53284f8364ac4a8208a8ac3142912001c /stepmake | |
parent | a3036a217ddf3ac281c534caf7d76a151d67d805 (diff) |
Build: Allow configure to overwrite the top-level GNUmakefile.
This file is chmoded to 444 so it cannot be overwritten by
cat << EOF > GNUmakefile
alone; it needs to be removed first.
Diffstat (limited to 'stepmake')
-rw-r--r-- | stepmake/aclocal.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4 index 8045c3ef0a..c60521ead3 100644 --- a/stepmake/aclocal.m4 +++ b/stepmake/aclocal.m4 @@ -436,12 +436,13 @@ EOF done done - + rm -f GNUmakefile cat <<EOF > GNUmakefile depth = . include config\$(if \$(conf),-\$(conf),).make include \$(configure-srcdir)/GNUmakefile.in EOF + chmod 444 GNUmakefile AC_SUBST(VPATH) fi ]) |