diff options
| author | Christian Eppler <c.eppler@linutonix.de> | 2013-05-17 09:10:08 +0200 |
|---|---|---|
| committer | Christian Eppler <c.eppler@linutonix.de> | 2013-05-17 09:10:08 +0200 |
| commit | 65d86095c97fcb71541e110d9541e4017bd88ad9 (patch) | |
| tree | b58b44f73478d8d09b5918c74ec1c8a5e37b9005 /modules.mk | |
| parent | 4bff7250e06b60e6546b0bb3ac6c43afc7518bcc (diff) | |
Cleanup Makefiles
Signed-off-by: Christian Eppler <c.eppler@linutonix.de>
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 # *************************************************************** |
