X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Fgeneric-targets.make;h=7546bbd2b5565840b29e1e64bbc9ad8e9b77a38f;hb=69d6926cc800285a88cb1d6beed46d77b9a58f41;hp=972d3fd671168a745c0915edf214f6ac40d40f82;hpb=95b5a70a64ff7694eda94be9a0921c56c4482f79;p=lilypond.git diff --git a/stepmake/stepmake/generic-targets.make b/stepmake/stepmake/generic-targets.make index 972d3fd671..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: @@ -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)