]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/generic-targets.make
Merge branch 'jneeman' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond into jneeman
[lilypond.git] / stepmake / stepmake / generic-targets.make
index 39088178492979052d016b16dcc7f1661de615c6..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)),.)
@@ -21,6 +20,12 @@ distclean: clean
        $(LOOP)
        $(MAKE) local-distclean
 
+cvs-clean:
+       $(MAKE) local-distclean
+       rm -rf out
+       rm -rf out-www
+       rm -f aclocal.m4 configure
+
 maintainerclean:
        $(LOOP)
        $(MAKE) local-maintainerclean
@@ -63,6 +68,7 @@ Note that all commands recurse into subdirectories;\n\
 prepend \`local-' to restrict operation to the current directory.\n\
 Example: \`local-clean'.\n"
 
+# "
 local-help:
 
 local-dist: $(DIST_FILES) $(OUT_DIST_FILES) $(NON_ESSENTIAL_DIST_FILES)
@@ -141,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)