]> git.donarmstrong.com Git - lilypond.git/commitdiff
Build: Allow configure to overwrite the top-level GNUmakefile.
authorJulien Rioux <jrioux@physics.utoronto.ca>
Mon, 19 Dec 2011 09:40:22 +0000 (04:40 -0500)
committerJulien Rioux <jrioux@physics.utoronto.ca>
Mon, 16 Jan 2012 06:30:20 +0000 (01:30 -0500)
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

index 8045c3ef0a4f3bb3b4b254deaadfba543a16a016..c60521ead3a3923f53e06d39d878957dc3f16c8d 100644 (file)
@@ -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
 ])