samples: refine the listing of all samples for canadian samples

For canadian samples, display the sample as:
  target-tuple (host: host-tuple)
This commit is contained in:
Yann E. MORIN" 2010-01-03 18:40:35 +01:00
parent 27c1a5fa3f
commit df239bc7ee

View File

@ -48,7 +48,7 @@ show-all: $(patsubst %,show-%,$(CT_SAMPLES))
# print the list of all available samples
PHONY += list-samples
list-samples: FORCE
@echo $(CT_SAMPLES) |$(sed) -r -e 's/ /\n/g;'
@echo $(CT_SAMPLES) |$(sed) -r -e 's/ /\n/g;' |sed -r -e 's/(.*),(.*)/\2 \(host: \1\)/;'
wiki-samples:
$(SILENT)$(CT_LIB_DIR)/scripts/showSamples.sh -w $(CT_SAMPLES)