summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPhilipp Le <philipp-le-prviat@freenet.de>2020-05-01 12:56:59 +0200
committerPhilipp Le <philipp-le-prviat@freenet.de>2021-03-04 01:14:10 +0100
commitad78d6ae088f89eb22c469be844fc16e39df0043 (patch)
treeba64574dd2b1160d6bfaf100c7ec211c8faadd2b /Makefile
parent7edf674302220895c2d39b74dd4f03c58621aedd (diff)
downloaddcs-lecture-notes-ad78d6ae088f89eb22c469be844fc16e39df0043.zip
dcs-lecture-notes-ad78d6ae088f89eb22c469be844fc16e39df0043.tar.gz
dcs-lecture-notes-ad78d6ae088f89eb22c469be844fc16e39df0043.tar.bz2
Adding index, adding complete script
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3268a7d..5b14be7 100644
--- a/Makefile
+++ b/Makefile
@@ -9,10 +9,16 @@ COMMON_DEPS = common/settings.tex common/titlepage.tex common/acronym.tex common
all: $(ALL_TARGETS)
+complete: $(BUILD_DIR)/DCS.pdf
+
clean:
mkdir -p $(BUILD_DIR)
cd $(BUILD_DIR) ; rm -f *.aux *.fdb_latexmk *.fls *.lof *.log *.lot *.pdf *.synctex.gz
+$(BUILD_DIR)/DCS.pdf: main/DCS.tex $(COMMON_DEPS) */*.tex
+ mkdir -p $(BUILD_DIR)
+ cd $(BUILD_DIR) ; $(LATEXMK) ../$<
+
$(BUILD_DIR)/%.pdf: main/%.tex $(COMMON_DEPS) %/*.tex
mkdir -p $(BUILD_DIR)
cd $(BUILD_DIR) ; $(LATEXMK) ../$<