From: Julien Rioux Date: Mon, 19 Dec 2011 09:40:22 +0000 (-0500) Subject: Build: Allow configure to overwrite the top-level GNUmakefile. X-Git-Tag: release/2.15.26-1~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=63759dacd7a929df05502278c1e3c1a7be56942b;p=lilypond.git 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. --- 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 < GNUmakefile depth = . include config\$(if \$(conf),-\$(conf),).make include \$(configure-srcdir)/GNUmakefile.in EOF + chmod 444 GNUmakefile AC_SUBST(VPATH) fi ])