From e08c8fa12ad494226f305acefaf6eb8211e39dd0 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 15 Jun 2008 19:25:51 +0000 Subject: Add a new rule to build the sample table ready to include in the WiKi. /trunk/scripts/showSamples.sh | 81 53 28 0 ++++++++++++++++++++++++++++++++----------------- /trunk/samples/samples.mk | 6 6 0 0 ++++ 2 files changed, 59 insertions(+), 28 deletions(-) --- samples/samples.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'samples') diff --git a/samples/samples.mk b/samples/samples.mk index 6ae74aee..a7d3ed82 100644 --- a/samples/samples.mk +++ b/samples/samples.mk @@ -20,6 +20,9 @@ help-build:: @echo ' regtest-local[.#] - Regtest-build all local samples' @echo ' regtest-global[.#] - Regtest-build all global samples' +help-distrib:: + @echo ' wiki-samples - Print a DokuWiki table of samples' + $(patsubst %,show-%,$(CT_SAMPLES)): @$(CT_LIB_DIR)/scripts/showSamples.sh -v $(patsubst show-%,%,$(@)) @@ -84,3 +87,6 @@ $(patsubst %,regtest_%,$(CT_SAMPLES)): saveconfig: @$(CT_LIB_DIR)/scripts/saveSample.sh + +wiki-samples: + @$(CT_LIB_DIR)/scripts/showSamples.sh -w $(CT_SAMPLES) -- cgit v1.2.3