summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-07-30 19:35:39 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-07-30 19:35:39 (GMT)
commit20e08ffa90f139fb977bf2d65e989853626210e8 (patch)
treec0b94b165791d90970ab8a034e6e9e2852b6c814
parentaf1ecbd4f3844b51f5df38e7f44363714f60509d (diff)
Fix the step shortcuts (using a dash would confuse make).
-rw-r--r--docs/overview.txt4
-rw-r--r--steps.mk8
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/overview.txt b/docs/overview.txt
index 9bed02d..527d854 100644
--- a/docs/overview.txt
+++ b/docs/overview.txt
@@ -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
diff --git a/steps.mk b/steps.mk
index a89a757..6cb28db 100644
--- a/steps.mk
+++ b/steps.mk
@@ -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'