mirror of https://github.com/zcash/zips.git
protocol/Makefile: add `discard` target, and make the `linkcheck` target depend on `all-specs`.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
0d2b01e602
commit
a918bbc6d7
|
@ -16,7 +16,7 @@ NOCRUFT?=|perl -pe 's|[{\<\(]\/[^ ]* ?||g;s|^.* has been referenced but does not
|
||||||
# Use EXTRAOPT=-pvc for "continuous preview" mode. For example, "make auxblossom EXTRAOPT=-pvc".
|
# Use EXTRAOPT=-pvc for "continuous preview" mode. For example, "make auxblossom EXTRAOPT=-pvc".
|
||||||
# In this case the updated .pdf will be in the aux/ directory.
|
# In this case the updated .pdf will be in the aux/ directory.
|
||||||
|
|
||||||
.PHONY: all all-specs release
|
.PHONY: all all-specs release discard
|
||||||
all: .Makefile.uptodate
|
all: .Makefile.uptodate
|
||||||
$(MAKE) nu5 canopy heartwood blossom sapling
|
$(MAKE) nu5 canopy heartwood blossom sapling
|
||||||
|
|
||||||
|
@ -36,8 +36,11 @@ else
|
||||||
git push --tags origin HEAD:master
|
git push --tags origin HEAD:master
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
discard:
|
||||||
|
git checkout -- '*.pdf'
|
||||||
|
|
||||||
.PHONY: linkcheck
|
.PHONY: linkcheck
|
||||||
linkcheck:
|
linkcheck: protocol.pdf canopy.pdf heartwood.pdf blossom.pdf sapling.pdf
|
||||||
./links_and_dests.py --check protocol.pdf canopy.pdf heartwood.pdf blossom.pdf sapling.pdf
|
./links_and_dests.py --check protocol.pdf canopy.pdf heartwood.pdf blossom.pdf sapling.pdf
|
||||||
|
|
||||||
.Makefile.uptodate: Makefile
|
.Makefile.uptodate: Makefile
|
||||||
|
|
Loading…
Reference in New Issue