X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Fgeneric-targets.make;h=7546bbd2b5565840b29e1e64bbc9ad8e9b77a38f;hb=da712fff69476235a2843921c47678a65959e1a8;hp=ea288ca58c13a37693247fc2b1422d3af0a4684f;hpb=afcf9fa8d6794b08cd62f66dfd22c0f108a7c6e0;p=lilypond.git diff --git a/stepmake/stepmake/generic-targets.make b/stepmake/stepmake/generic-targets.make index ea288ca58c..7546bbd2b5 100644 --- a/stepmake/stepmake/generic-targets.make +++ b/stepmake/stepmake/generic-targets.make @@ -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: @@ -69,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) @@ -147,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)