Compare commits
5 Commits
master
...
wip-saplin
Author | SHA1 | Date |
---|---|---|
Daira Hopwood | 0848c0bf1c | 7 years ago |
Daira Hopwood | 22360d0b4f | 7 years ago |
Daira Hopwood | 865fe5ebea | 7 years ago |
Daira Hopwood | 83618bd71b | 7 years ago |
Daira Hopwood | 2608958c59 | 7 years ago |
5 changed files with 856 additions and 286 deletions
@ -1,19 +1,40 @@ |
|||
protocol.pdf: protocol.tex zcash.bib incremental_merkle.pdf key_components.pdf |
|||
$(MAKE) pdf |
|||
|
|||
LATEX=pdflatex |
|||
sapling.pdf: protocol.tex zcash.bib incremental_merkle.pdf key_components.pdf |
|||
$(MAKE) sapling |
|||
|
|||
.PHONY: pdf |
|||
pdf: |
|||
printf '\\renewcommand{\\docversion}{Version %s}' "$$(git describe --tags --abbrev=6)" |tee protocol.ver |
|||
# If $(LATEX) fails, touch an input so that 'make' won't think it is up-to-date next time. |
|||
# If latexmk fails, touch an input so that 'make' won't think it is up-to-date next time. |
|||
rm -f protocol.aux protocol.bbl protocol.blg protocol.brf protocol.bcf |
|||
$(LATEX) protocol.tex || { touch incremental_merkle.pdf; exit 1; } |
|||
biber protocol |
|||
$(LATEX) protocol.tex || { touch incremental_merkle.pdf; exit 1; } |
|||
$(LATEX) protocol.tex || { touch incremental_merkle.pdf; exit 1; } |
|||
$(LATEX) protocol.tex || { touch incremental_merkle.pdf; exit 1; } |
|||
latexmk -bibtex -pdf protocol || { touch incremental_merkle.pdf; exit 1; } |
|||
|
|||
.PHONY: pvcpdf |
|||
pvcpdf: |
|||
printf '\\renewcommand{\\docversion}{Version %s}' "$$(git describe --tags --abbrev=6)" |tee protocol.ver |
|||
# If latexmk fails, touch an input so that 'make' won't think it is up-to-date next time. |
|||
rm -f protocol.aux protocol.bbl protocol.blg protocol.brf protocol.bcf |
|||
latexmk -bibtex -pdf -pvc protocol |
|||
|
|||
.PHONY: sapling |
|||
sapling: |
|||
printf '\\toggletrue{issapling}\n\\renewcommand{\\docversion}{Version %s [Sapling]}' "$$(git describe --tags --abbrev=6)" |tee protocol.ver |
|||
# If latexmk fails, touch an input so that 'make' won't think it is up-to-date next time. |
|||
rm -f sapling.aux sapling.bbl sapling.blg sapling.brf sapling.bcf |
|||
latexmk -bibtex -pdf -jobname=sapling protocol || { touch incremental_merkle.pdf; exit 1; } |
|||
|
|||
.PHONY: pvcsapling |
|||
pvcsapling: |
|||
printf '\\toggletrue{issapling}\n\\renewcommand{\\docversion}{Version %s [Sapling]}' "$$(git describe --tags --abbrev=6)" |tee protocol.ver |
|||
# If latexmk fails, touch an input so that 'make' won't think it is up-to-date next time. |
|||
rm -f sapling.aux sapling.bbl sapling.blg sapling.brf sapling.bcf |
|||
latexmk -bibtex -pdf -jobname=sapling -pvc protocol |
|||
|
|||
.PHONY: clean |
|||
clean: |
|||
rm -f protocol.dvi protocol.pdf protocol.bbl protocol.blg protocol.brf protocol.toc protocol.aux protocol.out protocol.log protocol.bcf protocol.run.xml protocol.ver |
|||
rm -f protocol.dvi protocol.pdf protocol.bbl protocol.blg protocol.brf protocol.toc \
|
|||
protocol.aux protocol.out protocol.log protocol.bcf protocol.run.xml protocol.ver \
|
|||
sapling.dvi sapling.pdf sapling.bbl sapling.blg sapling.brf sapling.toc \
|
|||
sapling.aux sapling.out sapling.log sapling.bcf sapling.run.xml |
|||
|
Binary file not shown.
File diff suppressed because it is too large
@ -1 +1,2 @@ |
|||
\renewcommand{\docversion}{Version 2017.0-beta-2.7} |
|||
\toggletrue{issapling} |
|||
\renewcommand{\docversion}{Version 2017.0-beta-2.7-2-g260895 [Sapling]} |
Loading…
Reference in new issue