summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ct-ng.comp2
-rw-r--r--samples/samples.mk4
2 files changed, 5 insertions, 1 deletions
diff --git a/ct-ng.comp b/ct-ng.comp
index 6eaf2bf..d2c7124 100644
--- a/ct-ng.comp
+++ b/ct-ng.comp
@@ -16,7 +16,7 @@ _ct-ng () {
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 --git a/samples/samples.mk b/samples/samples.mk
index 4447246..8502f6f 100644
--- a/samples/samples.mk
+++ b/samples/samples.mk
@@ -41,6 +41,10 @@ PHONY += $(patsubst %,show-%,$(CT_SAMPLES))
$(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