summaryrefslogtreecommitdiff
path: root/paper/Makefile
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-10-13 12:43:15 +0200
committerjaseg <git@jaseg.de>2021-10-13 12:46:32 +0200
commitd7e8804cc40fb889b4bf5667030be2ba94edf857 (patch)
treede3ad748762d036956f00a3dadd3777cc70d36a9 /paper/Makefile
parent5c4c9cea150c4ba3881076abb7615e68c06061bf (diff)
downloadihsm-d7e8804cc40fb889b4bf5667030be2ba94edf857.tar.gz
ihsm-d7e8804cc40fb889b4bf5667030be2ba94edf857.tar.bz2
ihsm-d7e8804cc40fb889b4bf5667030be2ba94edf857.zip
Add supplementary material zip export
Diffstat (limited to 'paper/Makefile')
-rw-r--r--paper/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/paper/Makefile b/paper/Makefile
index 344dde2..9054b28 100644
--- a/paper/Makefile
+++ b/paper/Makefile
@@ -25,8 +25,9 @@ submission: diff cover-letter ${main_tex}.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
+ #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
+ rm -f ${sub_stem}-${SHORT_VERSION_STRING}-latex.zip
zip -r ${sub_stem}-${SHORT_VERSION_STRING}-latex.zip ${main_tex}.tex ihsm.bib version.tex \
prototype_pic2.jpg \
concept_vis_one_axis.pdf \
@@ -45,6 +46,14 @@ submission: diff cover-letter ${main_tex}.pdf
fig-acc-theory-meas-run50.pdf \
iacrtrans.cls \
CC-BY.pdf
+ rm -f ${sub_stem}-${SHORT_VERSION_STRING}-supplementary.zip
+ cat README_supplementary-in.txt version.tex > README_supplementary.txt
+ zip ${sub_stem}-${SHORT_VERSION_STRING}-supplementary.zip README_supplementary.txt
+ cd ../prototype
+ zip -r $(abspath ${sub_stem}-${SHORT_VERSION_STRING}-supplementary.zip) fw mech_pcbs sensor-analysis \
+ --exclude 'fw/upstream/*' 'fw/venv/*' 'sensor-analysis/*.pdf' 'fw/*/.git/*' 'fw/*/__pycache__/*' \
+ 'fw/build/upstream/*' 'fw/build/src/*' 'fw/build/generated/*' 'fw/build/*.dot' 'fw/build/rotohsm_proto_rotor.*' \
+ 'sensor-analysis/.ipynb_checkpoints/*' 'fw/test_run.sqlite3'
.PHONY: cover-letter
cover-letter: tches-22-01-changes.pdf
@@ -73,4 +82,5 @@ clean:
rm -f ${main_tex}_diff.*
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
+ rm -f README_supplementary.txt