summaryrefslogtreecommitdiff
path: root/modules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'modules.mk')
-rw-r--r--modules.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules.mk b/modules.mk
index b6ec3af..7ea7cd7 100644
--- a/modules.mk
+++ b/modules.mk
@@ -30,5 +30,13 @@ clean:
rm -f *.out
rm -f *.vrb
+build_master_pres:
+ifneq ($(filter-out pres_%,$(obj-y)), )
+ `echo "\input{$(CURDIR)/../section.tex}" >> ${TOP_DIR}/$(MASTER_PRES)`
+ for files in $(subst .pdf,.tex,$(filter-out pres_%,$(obj-y))) ; do \
+ `echo "\input{$(CURDIR)/$$files}" >> ${TOP_DIR}/$(MASTER_PRES)` ;\
+ done
+endif
+
.PHONY: clean