summaryrefslogtreecommitdiff
path: root/paper/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'paper/Makefile')
-rw-r--r--paper/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/paper/Makefile b/paper/Makefile
index 051e628..e230536 100644
--- a/paper/Makefile
+++ b/paper/Makefile
@@ -15,16 +15,18 @@ brief_tex ?= ihsm_tech_report
sub_stem ?= cant-touch-this-ihsm-paper
VERSION_STRING := $(shell git describe --tags --long --dirty)
+SHORT_VERSION_STRING := $(shell git describe --tags)
all: ${main_tex}.pdf ${brief_tex}.pdf
.PHONY: submission-outputs
submission: diff cover-letter ${main_tex}.pdf
- cp ${main_tex}.pdf ${sub_stem}-${VERSION_STRING}.pdf
- cp ${main_tex}_diff.pdf ${sub_stem}-${VERSION_STRING}-diff.pdf
- cp tches-22-01-changes.pdf ${sub_stem}-${VERSION_STRING}-cover-letter.pdf
- rm -f ${sub_stem}-${VERSION_STRING}-supplementary.zip
- zip -r ${sub_stem}-${VERSION_STRING}-supplementary.zip ${sub_stem}-${VERSION_STRING}-diff.pdf ${sub_stem}-${VERSION_STRING}-cover-letter.pdf
+ cp ${main_tex}.pdf ${sub_stem}-${SHORT_VERSION_STRING}-revised.pdf
+ cp ${main_tex}_diff.pdf ${sub_stem}-${SHORT_VERSION_STRING}-diff.pdf
+ cp cant-touch-this-ihsm-paper-v2.0.pdf cant-touch-this-ihsm-paper-v2.0-original.pdf
+ cp tches-22-01-changes.pdf ${sub_stem}-${SHORT_VERSION_STRING}-cover-letter.pdf
+ rm -f ${sub_stem}-${SHORT_VERSION_STRING}-supplementary.zip
+ zip -r ${sub_stem}-${SHORT_VERSION_STRING}-supplementary.zip ${sub_stem}-${SHORT_VERSION_STRING}-diff.pdf ${sub_stem}-${SHORT_VERSION_STRING}-cover-letter.pdf ${sub_stem}-${SHORT_VERSION_STRING}-revised.pdf cant-touch-this-ihsm-paper-v2.0-original.pdf
.PHONY: cover-letter
cover-letter: tches-22-01-changes.pdf