summaryrefslogtreecommitdiff
path: root/doc/handbook
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-02-24 10:16:06 +0000
committerng0 <ng0@n0.is>2019-02-24 10:16:06 +0000
commit860f3d0a2a7c22766aa741df324560c279775343 (patch)
treeae9e108ad2745a8c0d3bdf9d020f26c0dc8b4aae /doc/handbook
parentca5e6a9b947092151671257fad7d1965c29dfe33 (diff)
5604
Diffstat (limited to 'doc/handbook')
-rw-r--r--doc/handbook/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/handbook/Makefile.am b/doc/handbook/Makefile.am
index 9a3a76a2f..b4372719d 100644
--- a/doc/handbook/Makefile.am
+++ b/doc/handbook/Makefile.am
@@ -144,7 +144,8 @@ lego_stack.png: images/lego_stack.svg
# XXX: is this sed invocation portable enough? otherwise try tr(1).
version.texi/replacement: version.texi/replacement/revert
- @sed -i "s/GPACKAGE_VERSION/$(PACKAGE_VERSION)/g" gversion.texi
+ @sed "s/GPACKAGE_VERSION/$(PACKAGE_VERSION)/g" gversion.texi > gversion.texi.tmp
+ @mv gversion.texi.tmp gversion.texi
version.texi/replacement/revert:
@echo "@set VERSION GPACKAGE_VERSION" > gversion.texi