mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
tools: fix version string updating in manual
This commit is contained in:
parent
b4f7860f2b
commit
3ac9d419e0
4
Makefile
4
Makefile
@ -1088,9 +1088,9 @@ hledger-web/hledger-web.cabal: $(VERSIONFILE) \
|
|||||||
perl -p -e "s/(^[ ,]*hledger(-lib|-web)? *[>=]=) *.*/\1 $(VERSION)/" -i $@
|
perl -p -e "s/(^[ ,]*hledger(-lib|-web)? *[>=]=) *.*/\1 $(VERSION)/" -i $@
|
||||||
perl -p -e "s/(-DVERSION=\")[^\"]+/\$${1}$(VERSION)/" -i $@
|
perl -p -e "s/(-DVERSION=\")[^\"]+/\$${1}$(VERSION)/" -i $@
|
||||||
|
|
||||||
doc/MANUAL.md: $(VERSIONFILE) \
|
doc/manual.md: $(VERSIONFILE) \
|
||||||
$(call def-help-hide,doc/MANUAL.md, update the version in this file )
|
$(call def-help-hide,doc/MANUAL.md, update the version in this file )
|
||||||
perl -p -e "s/(^Version:) +[0-9.]+/\1 $(VERSION)/" -i $@
|
perl -p -e "s/(this version documents hledger and hledger-web) +[0-9.]+/\1 $(VERSION)/" -i $@
|
||||||
|
|
||||||
tagrelease: \
|
tagrelease: \
|
||||||
$(call def-help,tagrelease, commit a release tag based on $(VERSIONFILE) for each package )
|
$(call def-help,tagrelease, commit a release tag based on $(VERSIONFILE) for each package )
|
||||||
|
Loading…
Reference in New Issue
Block a user