Fix the step shortcuts (using a dash would confuse make).

This commit is contained in:
Yann E. MORIN" 2007-07-30 19:35:39 +00:00
parent af1ecbd4f3
commit 20e08ffa90
2 changed files with 6 additions and 6 deletions

View File

@ -277,9 +277,9 @@ Alternatively, you can call make with the name of a step to just do that step:
is equivalent to:
ct-ng RESTART=libs_headers STOP=libc_headers
The shortcuts -step_name and step_name- allow to respectively stop or restart
The shortcuts +step_name and step_name+ allow to respectively stop or restart
at that step. Thus:
ct-ng -libc_headers and: ct-ng libc_headers-
ct-ng +libc_headers and: ct-ng libc_headers+
are equivalent to:
ct-ng STOP=libc_headers and: ct-ng RESTART=libc_headers

View File

@ -19,11 +19,11 @@ CT_STEPS := libc_check_config \
$(CT_STEPS):
@$(CT_NG) RESTART=$@ STOP=$@ build
$(patsubst %,-%,$(CT_STEPS)):
@$(CT_NG) STOP=$(patsubst -%,%,$@) build
$(patsubst %,+%,$(CT_STEPS)):
@$(CT_NG) STOP=$(patsubst +%,%,$@) build
$(patsubst %,%-,$(CT_STEPS)):
@$(CT_NG) RESTART=$(patsubst %-,%,$@) build
$(patsubst %,%+,$(CT_STEPS)):
@$(CT_NG) RESTART=$(patsubst %+,%,$@) build
help-build::
@echo ' liststeps - List all build steps'