summaryrefslogtreecommitdiff
path: root/doc/quick-tech-report/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/quick-tech-report/Makefile')
-rw-r--r--doc/quick-tech-report/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/quick-tech-report/Makefile b/doc/quick-tech-report/Makefile
index a2c5f12..8a4bc75 100644
--- a/doc/quick-tech-report/Makefile
+++ b/doc/quick-tech-report/Makefile
@@ -8,22 +8,19 @@ SHELL := bash
MAKEFLAGS += --warn-undefined-variables
MAKEFLAGS += --no-builtin-rules
-main_tex ?= rotohsm_tech_report
+main_tex ?= rotohsm_paper
+brief_tex ?= rotohsm_tech_report
VERSION_STRING := $(shell git describe --tags --long --dirty)
-all: ${main_tex}.pdf
+all: ${main_tex}.pdf ${brief_tex}.pdf
%.pdf: %.tex rotohsm.bib version.tex
pdflatex -shell-escape $<
biber $*
pdflatex -shell-escape $<
-.PHONY: preview
-preview:
- pdflatex -shell-escape ${main_tex}.tex
-
-version.tex: ${main_tex}.tex rotohsm.bib
+version.tex: ${main_tex}.tex ${brief_tex}.tex rotohsm.bib
echo "${VERSION_STRING}" > $@
resources/%.pdf: $(LAB_PATH)/%.ipynb
@@ -33,4 +30,6 @@ resources/%.pdf: $(LAB_PATH)/%.ipynb
clean:
rm -f ${main_tex}.aux ${main_tex}.bbl ${main_tex}.bcf ${main_tex}.log ${main_tex}.blg
rm -f ${main_tex}.out ${main_tex}.run.xml texput.log
+ rm -f ${brief_tex}.aux ${brief_tex}.bbl ${brief_tex}.bcf ${brief_tex}.log ${brief_tex}.blg
+ rm -f ${brief_tex}.out ${brief_tex}.run.xml texput.log