Commit 26c7e094 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Replace paths in ganeti-watcher.sgml.

Reviewed-by: iustinp
parent ff9c047c
...@@ -3,12 +3,33 @@ ...@@ -3,12 +3,33 @@
man_MANS = ganeti.7 ganeti-os-interface.7 gnt-cluster.8 gnt-node.8 gnt-os.8 \ man_MANS = ganeti.7 ganeti-os-interface.7 gnt-cluster.8 gnt-node.8 gnt-os.8 \
gnt-instance.8 ganeti-noded.8 ganeti-watcher.8 gnt-backup.8 gnt-instance.8 ganeti-noded.8 ganeti-watcher.8 gnt-backup.8
maninput = $(patsubst %.7,%.in,$(patsubst %.8,%.in,$(man_MANS)))
EXTRA_DIST = ganeti-os-interface.sgml gnt-cluster.sgml gnt-node.sgml \ EXTRA_DIST = ganeti-os-interface.sgml gnt-cluster.sgml gnt-node.sgml \
ganeti-watcher.sgml ganeti.sgml gnt-instance.sgml gnt-os.sgml \ ganeti-watcher.sgml ganeti.sgml gnt-instance.sgml gnt-os.sgml \
gnt-backup.sgml ganeti-noded.sgml \ gnt-backup.sgml ganeti-noded.sgml \
footer.sgml $(man_MANS) footer.sgml $(maninput)
MAINTAINERCLEANFILES = *.[78] CLEANFILES = *.[78]
MAINTAINERCLEANFILES = *.in
# Wrapper around docbook2man to control the output's filename
%.in: %.sgml footer.sgml
tmpdir=`mktemp -d "./manbuildXXXXXX"` && \
mkdir "$$tmpdir" && \
docbook2man -o "$$tmpdir" $< && \
ok= && \
for check in `basename $< .sgml`.{7,8}; do \
if test -f "$$tmpdir/$$check"; then \
mv "$$tmpdir/$$check" $@ && \
ok=1 && \
break; \
fi; \
done; \
if test -z "$$ok"; then \
echo "Building $@ failed."; \
exit 1; \
fi; \
rm -rf "$$tmpdir"
%.7 %.8: %.sgml footer.sgml %.7 %.8: %.in Makefile
docbook2man $< sed -e 's#@LOCALSTATEDIR@#$(localstatedir)#g' < $< > $@
rm -f manpage.links manpage.refs
...@@ -62,9 +62,9 @@ ...@@ -62,9 +62,9 @@
<para> <para>
The command has a state file located at The command has a state file located at
<filename>/var/lib/ganeti/restart_state</filename> and a log <filename>@LOCALSTATEDIR@/lib/ganeti/restart_state</filename> and a log
file at file at
<filename>/var/log/ganeti/watcher.log</filename>. Removal of <filename>@LOCALSTATEDIR@/log/ganeti/watcher.log</filename>. Removal of
either file will not affect correct operation; the removal of either file will not affect correct operation; the removal of
the state file will just cause the restart counters for the the state file will just cause the restart counters for the
instances to reset to zero. instances to reset to zero.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment