[FE training-materials-updates] Makefile: Fix full-*.pdf building

Gregory Clement gregory.clement at free-electrons.com
Tue Nov 15 10:16:26 CET 2016


Repository : git://git.free-electrons.com/training-materials.git
On branch  : sysdev-4d
Link       : http://git.free-electrons.com/training-materials/commit/?id=5777325cebdc78e5a7016bd7ff8b888607662a53

>---------------------------------------------------------------

commit 5777325cebdc78e5a7016bd7ff8b888607662a53
Author: Gregory CLEMENT <gregory.clement at free-electrons.com>
Date:   Tue Nov 15 09:57:53 2016 +0100

    Makefile: Fix full-*.pdf building
    
    One of the intermediate variable of use to create *_CHAPTERS was
    evaluate too much time leading to a void value.
    
    Signed-off-by: Gregory CLEMENT <gregory.clement at free-electrons.com>


>---------------------------------------------------------------

5777325cebdc78e5a7016bd7ff8b888607662a53
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 292a5fc..09861e5 100644
--- a/Makefile
+++ b/Makefile
@@ -522,7 +522,7 @@ ifeq ($(firstword $(subst -, , $(SLIDES))),full)
 SLIDES_TRAINING      = $(strip $(subst -slides, , $(subst full-, , $(SLIDES))))
 SLIDES_COMMON_BEFORE = common/slide-header.tex \
 		       common/$(SLIDES_TRAINING)-title.tex
-SLIDES_CHAPTERS      = $($(call UPPERCASE, $($(subst  -,_, $(SLIDES_TRAINING))))_SLIDES)
+SLIDES_CHAPTERS      = $($(call UPPERCASE, $(subst  -,_, $(SLIDES_TRAINING)))_SLIDES)
 SLIDES_COMMON_AFTER  = common/slide-footer.tex
 else
 SLIDES_TRAINING      = $(firstword $(subst -, ,  $(SLIDES)))
@@ -589,7 +589,7 @@ ifeq ($(firstword $(subst -, , $(LABS))),full)
 LABS_TRAINING      = $(strip $(subst -labs, , $(subst full-, , $(LABS))))
 LABS_HEADER        = common/labs-header.tex
 LABS_VARSFILE      = common/$(LABS_TRAINING)-labs-vars.tex
-LABS_CHAPTERS      = $($(call UPPERCASE, $($(subst  -,_, $(LABS_TRAINING))))_LABS)
+LABS_CHAPTERS      = $($(call UPPERCASE, $(subst  -,_, $(LABS_TRAINING)))_LABS)
 LABS_FOOTER        = common/labs-footer.tex
 else
 LABS_TRAINING      = $(firstword $(subst -, , $(LABS)))




More information about the training-materials-updates mailing list