From 20e08ffa90f139fb977bf2d65e989853626210e8 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 30 Jul 2007 19:35:39 +0000 Subject: Fix the step shortcuts (using a dash would confuse make). --- docs/overview.txt | 4 ++-- steps.mk | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/overview.txt b/docs/overview.txt index 9bed02d7..527d8541 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 a89a7574..6cb28db6 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' -- cgit v1.2.3