summaryrefslogtreecommitdiff
path: root/modules.mk
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2018-04-19 17:34:10 +0200
committerJohn Ogness <john.ogness@linutronix.de>2018-04-19 17:34:10 +0200
commit64516f9cc4a3ecc3c75b158227d523addc33f386 (patch)
tree5c3af06db85c717a44754d8f6bc75b26c7f0286d /modules.mk
parent76869963a8d6031afbb6f4eedc94fc98bfd217fa (diff)
printouts: add Kconfig option to build with printouts
If enabled, all selected presentations will also be build using the print templates. These are named the same, but stored in the deploy/printouts subdirectory. Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'modules.mk')
-rw-r--r--modules.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/modules.mk b/modules.mk
index f807257..110a1e0 100644
--- a/modules.mk
+++ b/modules.mk
@@ -9,10 +9,14 @@ TMP_TEXFILES = *.aux *.log *.nav *.toc *.pdf *.snm \
build:
$(Q)$(foreach files,$(obj-y),$(MODMK) $(files);)
$(Q)$(foreach files,$(obj-y),cp -t $(DEPLOY) $(files);)
-ifdef CONFIG_BUILD_HANDOUTS
+
+buildhandouts:
$(Q)$(foreach files,$(obj-handout-y),$(MODMK) $(files);)
- $(Q)$(foreach files,$(obj-handout-y),cp -t $(HANDOUT) $(files);)
-endif
+ $(Q)$(foreach files,$(obj-handout-y),cp -t $(DEPLOYHANDOUT) $(files);)
+
+buildprintouts:
+ $(Q)$(foreach files,$(obj-y),$(MODMK) $(files);)
+ $(Q)$(foreach files,$(obj-y),cp -t $(DEPLOYPRINTOUT) $(files);)
.FORCE:
%.pdf: %.tex .FORCE