diff options
author | Phil Holmes <mail@philholmes.net> | 2012-06-13 16:22:29 +0100 |
---|---|---|
committer | Phil Holmes <mail@philholmes.net> | 2012-06-18 10:13:31 +0100 |
commit | a201640e7109588c5feb1efa93484928ce565642 (patch) | |
tree | 960a07eb14ac6ab0ebeec98b197c1c8c0c46dcfa /stepmake | |
parent | 67cce0767337d165c0bf9f222d6195ff10902d13 (diff) |
Creates make log-clean and documents it
Diffstat (limited to 'stepmake')
-rw-r--r-- | stepmake/stepmake/generic-targets.make | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/stepmake/stepmake/generic-targets.make b/stepmake/stepmake/generic-targets.make index fa7dc2e104..9a51aaa728 100644 --- a/stepmake/stepmake/generic-targets.make +++ b/stepmake/stepmake/generic-targets.make @@ -1,5 +1,6 @@ .PHONY : all clean bin-clean config default dist exe help html lib TAGS\ - po doc doc-stage-1 WWW-1 WWW-2 WWW-post local-WWW-1 local-WWW-2 + po doc doc-stage-1 WWW-1 WWW-2 WWW-post local-WWW-1 local-WWW-2\ + log-clean all: default $(LOOP) @@ -14,6 +15,9 @@ clean: local-clean -rm -rf $(outdir) $(LOOP) +log-clean: + find . -name "*.log" -delete + ifeq (,$(findstring metafont,$(STEPMAKE_TEMPLATES))) bin-clean: local-bin-clean -rm -rf $(outdir) |