diff options
| author | Manuel Traut <manut@linutronix.de> | 2015-01-12 13:18:51 +0100 |
|---|---|---|
| committer | Manuel Traut <manut@linutronix.de> | 2015-01-12 13:18:51 +0100 |
| commit | 388a7d94947d189569d6a4c07fbb7add4b6796fd (patch) | |
| tree | 45c009a164fdf1ab911541d2b098a21f27043b57 /modules.mk | |
| parent | 6f296ef7d114621b09f975a6a9fb61d7a51496ea (diff) | |
make: restore config and tail files after master build
otherwise a rebuild isn't posible
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'modules.mk')
| -rw-r--r-- | modules.mk | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -55,22 +55,18 @@ 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) - # 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 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 - # Only for TESTING dirty hack *********************************** - mv $(TOP_DIR)/_configpres.tex $(TOP_DIR)/configpres.tex - mv $(TOP_DIR)/_tailpres.tex $(TOP_DIR)/tailpres.tex - # *************************************************************** cp $(MASTER_PRES)_$(BASE_NAME).pdf $(DEPLOY)/$(subst tmp_,,$(MASTER_PRES))_$(BASE_NAME).pdf endif |
