Makefile: add dot to filename of .Makefile.uptodate

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2020-04-14 13:06:08 +01:00
parent 2c37d28a82
commit 604532cca1
3 changed files with 9 additions and 9 deletions

2
.gitignore vendored
View File

@ -19,7 +19,7 @@
*.swp *.swp
*.save *.save
*.uptodate .Makefile.uptodate
protocol/aux/ protocol/aux/
protocol/html/ protocol/html/

View File

@ -3,18 +3,18 @@
# sudo pip install rst2html5 # sudo pip install rst2html5
.PHONY: all all-zips protocol .PHONY: all all-zips protocol
all-zips: Makefile.uptodate all-zips: .Makefile.uptodate
$(MAKE) README.rst $(MAKE) README.rst
$(MAKE) index.html $(addsuffix .html,$(filter-out README,$(basename $(wildcard *.rst)))) $(MAKE) index.html $(addsuffix .html,$(filter-out README,$(basename $(wildcard *.rst))))
all: all-zips protocol all: all-zips protocol
protocol: Makefile.uptodate protocol: .Makefile.uptodate
$(MAKE) -C protocol $(MAKE) -C protocol
Makefile.uptodate: Makefile .Makefile.uptodate: Makefile
$(MAKE) clean $(MAKE) clean
touch Makefile.uptodate touch .Makefile.uptodate
define PROCESSRST 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*||')) $(eval TITLE := $(shell echo '$(basename $<)' | sed -E 's|zip-0{0,3}|ZIP |'): $(shell grep -E '^(\.\.)?\s*Title:' $< |sed -E 's|.*Title:\s*||'))

View File

@ -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. # In this case the updated .pdf will be in the aux/ directory.
.PHONY: all-specs all .PHONY: all-specs all
all-specs: Makefile.uptodate all-specs: .Makefile.uptodate
$(MAKE) nufour.pdf heartwood.pdf blossom.pdf sapling.pdf sprout.pdf $(MAKE) nufour.pdf heartwood.pdf blossom.pdf sapling.pdf sprout.pdf
all: Makefile.uptodate all: .Makefile.uptodate
$(MAKE) nufour heartwood blossom sapling sprout $(MAKE) nufour heartwood blossom sapling sprout
Makefile.uptodate: Makefile .Makefile.uptodate: Makefile
$(MAKE) clean $(MAKE) clean
touch Makefile.uptodate touch .Makefile.uptodate
sprout.pdf: protocol.tex zcash.bib incremental_merkle.png key_components.png sprout.pdf: protocol.tex zcash.bib incremental_merkle.png key_components.png
$(MAKE) sprout $(MAKE) sprout