summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index befa336..158dafb 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ LATEXMK = latexmk -pdf -silent -synctex=1
LATEXMK_PVC = $(LATEXMK) -pvc
ALL_TARGETS = $(BUILD_DIR)/chapter01.pdf
+COMMON_DEPS = common/settings.tex common/titlepage.tex common/acronym.tex common/imprint.tex
all: $(ALL_TARGETS)
@@ -12,7 +13,7 @@ clean:
mkdir -p $(BUILD_DIR)
cd $(BUILD_DIR) ; rm -f *.aux *.fdb_latexmk *.fls *.lof *.log *.lot *.pdf *.synctex.gz
-$(BUILD_DIR)/%.pdf: main/%.tex
+$(BUILD_DIR)/%.pdf: main/%.tex $(COMMON_DEPS) %/content.tex
mkdir -p $(BUILD_DIR)
cd $(BUILD_DIR) ; $(LATEXMK) ../$<