summaryrefslogtreecommitdiff
path: root/modules.mk
diff options
context:
space:
mode:
authorHolger Dengler <dengler@linutronix.de>2018-04-18 10:42:31 +0200
committerHolger Dengler <dengler@linutronix.de>2018-04-18 15:13:02 +0200
commit2299479ef5ff3b9c73a2da1b1152fdaa4d18dca3 (patch)
tree0980defc74d8701729e89ae4cb007874fd6086be /modules.mk
parent44797f7be06e047c2ecd56189c5bb11e7edf854f (diff)
build: remove master-presentation and -handout builds
Signed-off-by: Holger Dengler <dengler@linutronix.de>
Diffstat (limited to 'modules.mk')
-rw-r--r--modules.mk65
1 files changed, 1 insertions, 64 deletions
diff --git a/modules.mk b/modules.mk
index 5d511e6..011ae92 100644
--- a/modules.mk
+++ b/modules.mk
@@ -39,67 +39,4 @@ clean_texfiles:
rm -f *.fls
rm -f *.fdb_latexmk
-build_master_pres:
-ifneq ($(filter $(PRES_PREFIX)%,$(obj-y)), )
- `echo "\input{$(dir $(CURDIR))section.tex}" >> ../$(MASTER_PRES)$(MASTER_END)`
- for files in $(subst .pdf,.tex,$(filter $(PRES_PREFIX)%,$(obj-y))) ; do \
- `echo "\input{$(CURDIR)/$$files}" >> ../$(MASTER_PRES)$(MASTER_END)` ; \
- done
-endif
-
-# Dirty for now the master_handout is build every time not only one time
-build_master_$(PRES_PREFIX)end:
-ifneq ($(filter $(PRES_PREFIX)%,$(obj-y)), )
- echo "\input{configmasterpres}" > ../$(MASTER_PRES)_$(BASE_NAME)$(MASTER_END)
- cat ../$(MASTER_PRES)$(MASTER_END) >> ../$(MASTER_PRES)_$(BASE_NAME)$(MASTER_END)
- echo "\input{tailmasterpres}" >> ../$(MASTER_PRES)_$(BASE_NAME)$(MASTER_END)
- mv $(TOP_DIR)/configpres.tex $(TOP_DIR)/_configpres.tex
- mv $(TOP_DIR)/tailpres.tex $(TOP_DIR)/_tailpres.tex
- touch $(TOP_DIR)/configpres.tex
- touch $(TOP_DIR)/tailpres.tex
- TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) $(BUILD) ../$(MASTER_PRES)_$(BASE_NAME)$(MASTER_END)
- mv $(TOP_DIR)/_configpres.tex $(TOP_DIR)/configpres.tex
- mv $(TOP_DIR)/_tailpres.tex $(TOP_DIR)/tailpres.tex
-
-ifndef CONFIG_BUILD_FAST_BUILD
- TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) $(BUILD) ../$(MASTER_PRES)_$(BASE_NAME)$(MASTER_END)
- TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) $(BUILD) ../$(MASTER_PRES)_$(BASE_NAME)$(MASTER_END)
-endif
- cp $(MASTER_PRES)_$(BASE_NAME).pdf $(DEPLOY)/$(subst tmp_,,$(MASTER_PRES))_$(BASE_NAME).pdf
-endif
-
-build_master_handout:
-ifneq ($(filter $(HANDOUT_PREFIX)%,$(obj-handout-y)), )
- `echo "\input{$(dir $(CURDIR))section.tex}" >> ../$(MASTER_HANDOUT)$(MASTER_END)`
- for files in $(subst .pdf,.tex,$(filter $(HANDOUT_PREFIX)%,$(obj-handout-y))) ; do \
- `echo "\input{$(CURDIR)/$$files}" >> ../$(MASTER_HANDOUT)$(MASTER_END)` ; \
- done
-endif
-
-# Dirty for now the master_handout is build every time not only one time
-build_master_$(HANDOUT_PREFIX)end:
-ifneq ($(filter $(HANDOUT_PREFIX)%,$(obj-handout-y)), )
- echo "\input{configmasterhandout}" > ../$(MASTER_HANDOUT)_$(BASE_NAME)$(MASTER_END)
- cat ../$(MASTER_HANDOUT)$(MASTER_END) >> ../$(MASTER_HANDOUT)_$(BASE_NAME)$(MASTER_END)
- echo "\input{tailmasterhandout}" >> ../$(MASTER_HANDOUT)_$(BASE_NAME)$(MASTER_END)
- # Only for TESTING dirty hack ***********************************
- mv $(TOP_DIR)/confighandout.tex $(TOP_DIR)/_confighandout.tex
- mv $(TOP_DIR)/tailhandout.tex $(TOP_DIR)/_tailhandout.tex
- touch $(TOP_DIR)/confighandout.tex
- touch $(TOP_DIR)/tailhandout.tex
- # ***************************************************************
- TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) $(BUILD) ../$(MASTER_HANDOUT)_$(BASE_NAME)$(MASTER_END)
-
-ifndef CONFIG_BUILD_FAST_BUILD
- TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) $(BUILD) ../$(MASTER_HANDOUT)_$(BASE_NAME)$(MASTER_END)
- TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) $(BUILD) ../$(MASTER_HANDOUT)_$(BASE_NAME)$(MASTER_END)
-endif
- # Only for TESTING dirty hack ***********************************
- mv $(TOP_DIR)/_confighandout.tex $(TOP_DIR)/confighandout.tex
- mv $(TOP_DIR)/_tailhandout.tex $(TOP_DIR)/tailhandout.tex
- # ***************************************************************
- cp $(MASTER_HANDOUT)_$(BASE_NAME).pdf $(HANDOUT)/$(subst tmp_,,$(MASTER_HANDOUT)_$(BASE_NAME).pdf)
-endif
-
-.PHONY: clean build_master_$(PRES_PREFIX)end build_master_pres build_master_$(HANDOUT_PREFIX)end build_master_handout build
-
+.PHONY: clean_texfiles build