summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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) ../$<