mirror of https://github.com/zcash/zips.git
Makefile: add dot to filename of .Makefile.uptodate
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
2c37d28a82
commit
604532cca1
|
@ -19,7 +19,7 @@
|
|||
*.swp
|
||||
*.save
|
||||
|
||||
*.uptodate
|
||||
.Makefile.uptodate
|
||||
|
||||
protocol/aux/
|
||||
protocol/html/
|
||||
|
|
8
Makefile
8
Makefile
|
@ -3,18 +3,18 @@
|
|||
# sudo pip install rst2html5
|
||||
|
||||
.PHONY: all all-zips protocol
|
||||
all-zips: Makefile.uptodate
|
||||
all-zips: .Makefile.uptodate
|
||||
$(MAKE) README.rst
|
||||
$(MAKE) index.html $(addsuffix .html,$(filter-out README,$(basename $(wildcard *.rst))))
|
||||
|
||||
all: all-zips protocol
|
||||
|
||||
protocol: Makefile.uptodate
|
||||
protocol: .Makefile.uptodate
|
||||
$(MAKE) -C protocol
|
||||
|
||||
Makefile.uptodate: Makefile
|
||||
.Makefile.uptodate: Makefile
|
||||
$(MAKE) clean
|
||||
touch Makefile.uptodate
|
||||
touch .Makefile.uptodate
|
||||
|
||||
define PROCESSRST
|
||||
$(eval TITLE := $(shell echo '$(basename $<)' | sed -E 's|zip-0{0,3}|ZIP |'): $(shell grep -E '^(\.\.)?\s*Title:' $< |sed -E 's|.*Title:\s*||'))
|
||||
|
|
|
@ -17,15 +17,15 @@ NOCRUFT?=|awk '{gsub(/[({<][/][^ ]* ?/,"")}1' |sed '/name{index:.*} has been ref
|
|||
# In this case the updated .pdf will be in the aux/ directory.
|
||||
|
||||
.PHONY: all-specs all
|
||||
all-specs: Makefile.uptodate
|
||||
all-specs: .Makefile.uptodate
|
||||
$(MAKE) nufour.pdf heartwood.pdf blossom.pdf sapling.pdf sprout.pdf
|
||||
|
||||
all: Makefile.uptodate
|
||||
all: .Makefile.uptodate
|
||||
$(MAKE) nufour heartwood blossom sapling sprout
|
||||
|
||||
Makefile.uptodate: Makefile
|
||||
.Makefile.uptodate: Makefile
|
||||
$(MAKE) clean
|
||||
touch Makefile.uptodate
|
||||
touch .Makefile.uptodate
|
||||
|
||||
sprout.pdf: protocol.tex zcash.bib incremental_merkle.png key_components.png
|
||||
$(MAKE) sprout
|
||||
|
|
Loading…
Reference in New Issue