mirror of https://github.com/zcash/zips.git
Makefile: tweak title generation.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
d8951f74f5
commit
92349aa776
2
Makefile
2
Makefile
|
@ -20,7 +20,7 @@ protocol: .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*||'))
|
||||
$(eval TITLE := $(shell echo '$(basename $<)' | sed -E 's|zip-0{0,3}|ZIP |;s|draft-|Draft |')$(shell grep -E '^(\.\.)?\s*Title: ' $< |sed -E 's|.*Title||'))
|
||||
rst2html5 -v --title="$(TITLE)" $< >$@
|
||||
./edithtml.sh $@
|
||||
endef
|
||||
|
|
Loading…
Reference in New Issue