From 4820c131b7cea4941fd35e10ea3e828db4082047 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sun, 12 Nov 2017 22:55:02 +0100 Subject: Add short bibliography --- makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 1d79099..0ff4241 100644 --- a/makefile +++ b/makefile @@ -4,7 +4,7 @@ DRAFT := lfc_draft.pdf FINAL := lfc_final.pdf # tex settings -TEX := pdflatex \ +TEX := xelatex \ -interaction=nonstopmode \ -halt-on-error \ -output-directory=$(BUILD_DIR) @@ -17,7 +17,7 @@ _FINAL := $(BUILD_DIR)/$(FINAL) _FINAL_SRC := $(patsubst %.pdf,%.tex,$(FINAL)) # recipes -.PHONY: build_dir +.PHONY: build_dir count count_draft count_final all: $(_DRAFT) $(_DRAFT): $(_DRAFT_SRC) build_dir @@ -26,5 +26,13 @@ $(_DRAFT): $(_DRAFT_SRC) build_dir $(_FINAL): $(_FINAL_SRC) build_dir $(TEX) $< +count: count_draft count_final + +count_draft: $(_DRAFT_SRC) + texcount $< + +count_final: $(_FINAL_SRC) + texcount $< + build_dir: mkdir -p $(BUILD_DIR) -- cgit v1.2.1