]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/generic-targets.make
Coverage fixes.
[lilypond.git] / stepmake / stepmake / generic-targets.make
index 972d3fd671168a745c0915edf214f6ac40d40f82..7546bbd2b5565840b29e1e64bbc9ad8e9b77a38f 100644 (file)
@@ -7,9 +7,8 @@ all:     default
 man:
        $(LOOP)
 
-# be careful about deletion.
 clean: local-clean
-       -rm -f $(outdir)/*
+       -rm -rf "./$(outdir)"
        $(LOOP)
 
 ifneq ($(strip $(depth)),.)
@@ -23,8 +22,8 @@ distclean: clean
 
 cvs-clean:
        $(MAKE) local-distclean
-       find . -type d -name out | xargs rm -rf
-       find . -type d -name out-www | xargs rm -rf
+       rm -rf out
+       rm -rf out-www
        rm -f aclocal.m4 configure
 
 maintainerclean:
@@ -148,6 +147,7 @@ $(outdir)/dummy.dep:
        @echo please ignore innocent warning about dummy.dep
        -mkdir -p $(outdir)
        touch $(outdir)/dummy.dep
+       echo '*' > $(outdir)/.gitignore
 
 check: local-check
        $(LOOP)