summaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent44797f7be06e047c2ecd56189c5bb11e7edf854f (diff)
build: remove master-presentation and -handout builds
Signed-off-by: Holger Dengler <dengler@linutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile40
1 files changed, 1 insertions, 39 deletions
diff --git a/Makefile b/Makefile
index 6cfaed7..5ca3319 100644
--- a/Makefile
+++ b/Makefile
@@ -18,19 +18,11 @@ BUILD_COMMAND := latexmk -xelatex -bibtex -pdf
BUILD_DEBUG := -halt-on-error --interaction=errorstopmode
BUILD_ARGS :=
BUILD := $(BUILD_COMMAND) $(BUILD_DEBUG) $(BUILD_ARGS)
-BUILD_BIB := $(BUILD_COMMAND_BIB)
KCONFIG_PATH := ./kconfig-frontends/frontends
KCONFIG := $(KCONFIG_PATH)/conf/conf
KMCONFIG := $(KCONFIG_PATH)/mconf/mconf
-MASTER_PRES := tmp_master_pres
-MASTER_HANDOUT := tmp_master_handout
-MASTER_END := .tex
-
-HANDOUT_PREFIX := handout_
-PRES_PREFIX := pres_
-
# Folder that should not include to build paths
EXCLUDE_PATH := \
grep -v ./kconfig-frontends | \
@@ -51,12 +43,6 @@ build:
for dir in $(PATHS) ; do \
($(MAKE) -C $$dir -f $(CURDIR)/modules.mk $@ >> log.txt); \
done
-ifdef CONFIG_BUILD_MASTER_PRES
- ($(MAKE) -C ./ -f Makefile build_master_pres >> log.txt);
-endif
-ifdef CONFIG_BUILD_MASTER_HANDOUT
- ($(MAKE) -C ./ -f Makefile build_master_handout >> log.txt);
-endif
$(KMCONFIG):
cd kconfig-frontends/ && ./configure && make
@@ -92,32 +78,8 @@ mrproper distclean:
($(MAKE) -C $$dir -f $(CURDIR)/modules.mk clean >> log.txt); \
done
-build_master_pres: clean_master_pres
- @echo "Build masterpres with: "$(obj-y)
- for dir in $(PATHS) ; do \
- ($(MAKE) -C $$dir -f $(CURDIR)/modules.mk build_master_pres >> log.txt); \
- ($(MAKE) -C $$dir -f $(CURDIR)/modules.mk build_master_pres_end >> log.txt); \
- done
-
-clean_master_pres:
-ifneq ($(shell find . -name $(MASTER_PRES)*$(MASTER_END)), )
- find . -name $(MASTER_PRES)*$(MASTER_END) -exec rm {} \;
-endif
-
-build_master_handout: clean_master_handout
- @echo "Build master handout with: "$(obj-handout-y)
- for dir in $(PATHS) ; do \
- ($(MAKE) -C $$dir -f $(CURDIR)/modules.mk build_master_handout >> log.txt); \
- ($(MAKE) -C $$dir -f $(CURDIR)/modules.mk build_master_handout_end >> log.txt); \
- done
-
-clean_master_handout:
-ifneq ($(shell find . -name $(MASTER_HANDOUT)*$(MASTER_END)), )
- find . -name $(MASTER_HANDOUT)*$(MASTER_END) -exec rm {} \;
-endif
-
%_defconfig: $(KCONFIG)
cp $(CONFIG_FOLDER)/$@ $(CONFIG_FILE)
$(KCONFIG) --oldconfig Kconfig
-.PHONY: config oldconfig menuconfig build clean mrproper distclean clean_master_pres build_master_handout
+.PHONY: config oldconfig menuconfig build clean mrproper distclean