diff options
author | Nao Pross <naopross@thearcway.org> | 2017-11-12 22:55:02 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2017-11-12 22:55:02 +0100 |
commit | 4820c131b7cea4941fd35e10ea3e828db4082047 (patch) | |
tree | 45f429db1d10b67b30acb7bf67c4b8d9ade7f770 /makefile | |
parent | Add notes (Chapter 1-3) (diff) | |
download | LFC-4820c131b7cea4941fd35e10ea3e828db4082047.tar.gz LFC-4820c131b7cea4941fd35e10ea3e828db4082047.zip |
Add short bibliography
Diffstat (limited to '')
-rw-r--r-- | makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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) |