]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/mutopia-targets.make
patch::: 1.3.132.jcn1
[lilypond.git] / make / mutopia-targets.make
index 994418db1008c2cc6cee01ac2ea4f3913c897fbc..64c846e9de0f3b8955c69d01fef1d958cd15b570 100644 (file)
@@ -2,6 +2,7 @@
 .PHONY: mutopia png ps scores tar
 
 .PRECIOUS: $(outdir)/%.ps $(outdir)/%-book.ps
+.PRECIOUS: $(outdir)-letter/%.dvi $(outdir)-letter/%.ps
 
 all: $(OUT_FILES)
 
@@ -16,15 +17,6 @@ convert-ly: local-convert-ly
 local-convert-ly:
        $(PYTHON) $(CONVERT_LY) -e *ly
 
-#
-# Also clean hand-compiled stuff in cwd
-#
-localclean: local-auto-gen-clean
-
-local-auto-gen-clean:
-       rm -f `grep -l 'Generated automacially by'  *`
-       rm -f *.dvi *.png
-
 tar:
        mkdir -p $(outdir)/$(tarball)
        cp -p *.ly $(outdir)/$(tarball)
@@ -43,6 +35,11 @@ mutopia-letter=$(mutopia-examples:%=out-letter/%.ps.gz)
 mutopia:
        $(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW $(mutopia-letter)
 
+localclean: local-letter-clean
+
+local-letter-clean:
+       rm -f $(outdir)-letter/*
+
 #
 # <NAME> and -book targets only available through ly.make template makefile;
 # too scary to install in LilyPonds make yet.