diff options
author | Julien Rioux <julien.rioux@gmail.com> | 2013-07-12 20:16:29 +0200 |
---|---|---|
committer | Julien Rioux <julien.rioux@gmail.com> | 2013-09-18 14:19:43 -0400 |
commit | e3ef776277b94f37a6246091f0d91e245500a4ef (patch) | |
tree | b548150300be6f1d8e750dba23aa0e2d7f39fac3 /stepmake | |
parent | 29b05c33ce2a1b0ee671afb52d23a40e5fb26a39 (diff) |
Build: Document the default make target.
Update `make help' to correctly document the generic targets.
Also add `local-all' target and mark the targets as PHONY.
Diffstat (limited to 'stepmake')
-rw-r--r-- | stepmake/stepmake/generic-targets.make | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/stepmake/stepmake/generic-targets.make b/stepmake/stepmake/generic-targets.make index 1b998b938d..7e29760e42 100644 --- a/stepmake/stepmake/generic-targets.make +++ b/stepmake/stepmake/generic-targets.make @@ -1,10 +1,12 @@ -.PHONY : all clean bin-clean default dist exe help html lib TAGS\ +.PHONY : all clean bin-clean default dist exe help html lib man TAGS\ po doc doc-stage-1 WWW-1 WWW-2 WWW-post local-WWW-1 local-WWW-2\ - log-clean + local-all local-clean local-bin-clean local-doc log-clean -all: default +all: default $(LOOP) +local-all: default + man: $(LOOP) @@ -37,8 +39,9 @@ generic-help: @echo "Targets specific to current directory:" help: generic-help local-help - @echo "Generic targets that recurse into subdirectories*:" + @echo "Generic targets that recurse into subdirectories:" @echo " all update everything except documentation with images" + @echo " (same as the empty target)" @echo " clean remove all generated stuff in $(outdir)" @echo " bin-clean same as clean, except that mf/out is preserved" @echo " doc update documentation with images in directory \`out-www'" @@ -52,7 +55,7 @@ help: generic-help local-help @echo " any of the above commands to the current directory." @echo @echo "Other generic targets:" - @echo " default same as the empty target" + @echo " default same as \`make all', but restricted to the current directory" @echo " exe update all executables" @echo " help this help" @echo " lib update all libraries" |