summaryrefslogtreecommitdiff
path: root/doc/quick-tech-report/Makefile
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2021-01-05 17:30:41 +0100
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2021-01-05 17:30:41 +0100
commita46d649a5bd4ba8d4f8674d14e35c99e9bb94c2f (patch)
treee600cd3104959e720ada360e666d5119109476ea /doc/quick-tech-report/Makefile
parent92f646fbf315af495582e60621f8ef0caf5269b6 (diff)
downloadihsm-a46d649a5bd4ba8d4f8674d14e35c99e9bb94c2f.tar.gz
ihsm-a46d649a5bd4ba8d4f8674d14e35c99e9bb94c2f.tar.bz2
ihsm-a46d649a5bd4ba8d4f8674d14e35c99e9bb94c2f.zip
Split paper/tech report
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