# HG changeset patch # User "Yann E. MORIN" # Date 1262540167 -3600 # Node ID 09ae4c09ba8302139703a629ae2ded550f41c2b2 # Parent bcf3da3bb1652ba42efd142de60acbd951c57702 samples: add an action to print details for all samples diff -r bcf3da3bb165 -r 09ae4c09ba83 ct-ng.comp --- a/ct-ng.comp Sun Jan 03 18:33:23 2010 +0100 +++ b/ct-ng.comp Sun Jan 03 18:36:07 2010 +0100 @@ -16,7 +16,7 @@ actions='help menuconfig oldconfig saveconfig build build. build-all build-all. - list-samples list-steps show-tuple + list-samples list-steps show-tuple show-all clean distclean wiki-samples updatetools tarball version' diff -r bcf3da3bb165 -r 09ae4c09ba83 samples/samples.mk --- a/samples/samples.mk Sun Jan 03 18:33:23 2010 +0100 +++ b/samples/samples.mk Sun Jan 03 18:36:07 2010 +0100 @@ -41,6 +41,10 @@ $(patsubst %,show-%,$(CT_SAMPLES)): @$(CT_LIB_DIR)/scripts/showSamples.sh -v $(patsubst show-%,%,$(@)) +# Prints the details of all samples +PHONY += show-all +show-all: $(patsubst %,show-%,$(CT_SAMPLES)) + # print the list of all available samples PHONY += list-samples list-samples: FORCE