[sorry for the prematurate posting] On 2008/07/18 09:38 +0200, Werner LEMBERG wrote: > > I like hacking makefiles, so that's not a problem :-). > > You are perverse :-)
It's funny for a math student to imagine what graphs make may build when reading makefiles. However, I'm still puzzled with web-clean target: in input/lsr and Documention/user, make sometimes runs commands for local-WWW (starting with lp-book) instead of cleaning out-www, and even doing 'make -n out=www clean' in those directories runs lp-book as if it tried to build local-WWW target; this strange behavior doesn't always happen but it seems to happen randomly, I'm not sure whether I hacked makefiles in an insane way or it's a bug in make. The attached patch fixes this issue in a dirty way, and it also removes docs compilation in input/manual for nuts. I'll apply it in one week unless objections arise. Cheers, John
diff --git a/input/manual/GNUmakefile b/input/manual/GNUmakefile index 558863f..6ba37af 100644 --- a/input/manual/GNUmakefile +++ b/input/manual/GNUmakefile @@ -1,16 +1,9 @@ - depth = ../.. -STEPMAKE_TEMPLATES=documentation texinfo tex -LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc - -## Hmm, would this work? No -- if we really want examples, move -## to other dir (input/) comes to mind. -## examples = font20 ancient-font -## LOCALSTEPMAKE_TEMPLATES += ly mutopia +STEPMAKE_TEMPLATES=documentation EXTRA_DIST_FILES= README +EXTRA_DIST_FILES+=$(call src-wildcard,*.ly) +EXTRA_DIST_FILES+=$(call src-wildcard,*.ily) include $(depth)/make/stepmake.make - -TITLE=LilyPond Examples from the Manual diff --git a/stepmake/stepmake/generic-targets.make b/stepmake/stepmake/generic-targets.make index 28c4a46..250eace 100644 --- a/stepmake/stepmake/generic-targets.make +++ b/stepmake/stepmake/generic-targets.make @@ -175,4 +175,5 @@ web: $(MAKE) out=www WWW-post web-clean: + find -name out-www | xargs rm -rf $(MAKE) out=www clean
_______________________________________________ lilypond-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-devel
