[bootlin/training-materials updates] master: Makefile: add "list-courses" target (15cf9001)
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Thu Apr 25 12:12:57 CEST 2019
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/15cf900166606cdf373581745f78f2e924d3e52a
>---------------------------------------------------------------
commit 15cf900166606cdf373581745f78f2e924d3e52a
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date: Thu Apr 25 12:05:49 2019 +0200
Makefile: add "list-courses" target
And remove the common/defs.sh script
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
>---------------------------------------------------------------
15cf900166606cdf373581745f78f2e924d3e52a
Makefile | 4 ++++
common/defs.sh | 2 --
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 657e992a..94f03e6a 100644
--- a/Makefile
+++ b/Makefile
@@ -288,6 +288,9 @@ ALL_TRAININGS = $(sort $(patsubst %.mk,%,$(notdir $(wildcard mk/*.mk))))
all: $(foreach p,$(ALL_TRAININGS),full-$(p)-slides.pdf full-$(p)-labs.pdf $(p)-agenda.pdf)
+list-courses:
+ @echo $(ALL_TRAININGS)
+
help:
@echo "Available targets:"
@echo
@@ -303,3 +306,4 @@ help:
@echo " <some-chapter>-slides.pdf Slides for a particular chapter in slides/"
@echo " <some-chapter>-labs.pdf Labs for a particular chapter in labs/"
@echo
+ @printf " %-30s %s\n" "list-courses" "List all courses"
diff --git a/common/defs.sh b/common/defs.sh
deleted file mode 100644
index e11e13b3..00000000
--- a/common/defs.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-# Definitions for automated scripts processing the materials
-ALL_COURSES="embedded-linux embedded-linux-4d linux-kernel yocto buildroot boot-time"
More information about the training-materials-updates
mailing list