From a46d649a5bd4ba8d4f8674d14e35c99e9bb94c2f Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 5 Jan 2021 17:30:41 +0100 Subject: Split paper/tech report --- doc/quick-tech-report/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'doc/quick-tech-report/Makefile') 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 -- cgit