chiark
/
gitweb
/
~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1294937
)
doc/Makefile.am: Preserve `~' correctly in the version string.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 7 Jun 2020 23:48:54 +0000
(
00:48
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 4 Jun 2021 18:54:59 +0000
(19:54 +0100)
doc/Makefile.am
patch
|
blob
|
blame
|
history
diff --git
a/doc/Makefile.am
b/doc/Makefile.am
index a1d6ec9ea806897bf3a874558e45352db1109d6c..4557143d1bc16f56c7e7309988f64ffdf8db762b 100644
(file)
--- a/
doc/Makefile.am
+++ b/
doc/Makefile.am
@@
-50,9
+50,10
@@
V_MAKEINDEX_ = $(V_MAKEINDEX_@AM_DEFAULT_V@)
V_MAKEINDEX_0 = @echo " MAKEIDX $@";
run_pdflatex = $(V_LATEX)cd $(srcdir) && \
+ version=$$(echo '$(VERSION)' | sed 's/~/\\textasciitilde /g') && \
$(PDFLATEX) $(TEXFLAGS) \
--jobname=$(basename $1) \
- '\def\pkgversion{$(VERSION)}\input{$1}'
+ "\def\pkgversion{$$version}\input{$1}"
###--------------------------------------------------------------------------
### The manual.