From 65d86095c97fcb71541e110d9541e4017bd88ad9 Mon Sep 17 00:00:00 2001 From: Christian Eppler Date: Fri, 17 May 2013 09:10:08 +0200 Subject: Cleanup Makefiles Signed-off-by: Christian Eppler --- modules.mk | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'modules.mk') diff --git a/modules.mk b/modules.mk index cc13180..27eb8b4 100644 --- a/modules.mk +++ b/modules.mk @@ -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 # *************************************************************** -- cgit v1.2.3