From 63759dacd7a929df05502278c1e3c1a7be56942b Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Mon, 19 Dec 2011 04:40:22 -0500 Subject: [PATCH] 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. --- stepmake/aclocal.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ]) -- 2.39.5