diff options
Diffstat (limited to 'modules.mk')
| -rw-r--r-- | modules.mk | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,6 +1,5 @@ #Include all selected obj-y files from folder include Makefile -include $(CONFIG) BASE_NAME = $(shell basename $(dir $(CURDIR))) @@ -46,12 +45,13 @@ ifneq ($(filter pres_%,$(obj-y)), ) done endif +# Dirty for now the master_handout is build every time not only one time build_master_pres_end: ifneq ($(filter pres_%,$(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) - # Only for TESTING ********************************************** + # Only for TESTING dirty hack *********************************** mv $(TOP_DIR)/configpres.tex $(TOP_DIR)/_configpres.tex mv $(TOP_DIR)/tailpres.tex $(TOP_DIR)/_tailpres.tex touch $(TOP_DIR)/configpres.tex @@ -63,7 +63,7 @@ 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 - # Only for TESTING ********************************************** + # Only for TESTING dirty hack *********************************** mv $(TOP_DIR)/_configpres.tex $(TOP_DIR)/configpres.tex mv $(TOP_DIR)/_tailpres.tex $(TOP_DIR)/tailpres.tex # *************************************************************** @@ -78,12 +78,13 @@ ifneq ($(filter handout_%,$(obj-handout-y)), ) done endif +# Dirty for now the master_handout is build every time not only one time build_master_handout_end: ifneq ($(filter handout_%,$(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 ********************************************** + # 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 @@ -95,7 +96,7 @@ 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 ********************************************** + # Only for TESTING dirty hack *********************************** mv $(TOP_DIR)/_confighandout.tex $(TOP_DIR)/confighandout.tex mv $(TOP_DIR)/_tailhandout.tex $(TOP_DIR)/tailhandout.tex # *************************************************************** |
