Revision a4f12da4
b/Makefile.am | ||
---|---|---|
14 | 14 |
BUILD_BASH_COMPLETION = $(top_srcdir)/autotools/build-bash-completion |
15 | 15 |
RUN_IN_TEMPDIR = $(top_srcdir)/autotools/run-in-tempdir |
16 | 16 |
CHECK_PYTHON_CODE = $(top_srcdir)/autotools/check-python-code |
17 |
CHECK_MAN = $(top_srcdir)/autotools/check-man |
|
17 | 18 |
REPLACE_VARS_SED = autotools/replace_vars.sed |
18 | 19 |
|
19 | 20 |
hypervisordir = $(pkgpythondir)/hypervisor |
... | ... | |
23 | 24 |
toolsdir = $(pkglibdir)/tools |
24 | 25 |
docdir = $(datadir)/doc/$(PACKAGE) |
25 | 26 |
|
27 |
# Delete output file if an error occurred while building it |
|
28 |
.DELETE_ON_ERROR: |
|
29 |
|
|
26 | 30 |
DIRS = \ |
27 | 31 |
autotools \ |
28 | 32 |
daemons \ |
... | ... | |
239 | 243 |
pylintrc \ |
240 | 244 |
autotools/build-bash-completion \ |
241 | 245 |
autotools/check-python-code \ |
246 |
autotools/check-man \ |
|
242 | 247 |
autotools/docbook-wrapper \ |
243 | 248 |
$(RUN_IN_TEMPDIR) \ |
244 | 249 |
daemons/daemon-util.in \ |
... | ... | |
399 | 404 |
|
400 | 405 |
man/%.7: man/%.7.in $(REPLACE_VARS_SED) |
401 | 406 |
sed -f $(REPLACE_VARS_SED) < $< > $@ |
407 |
$(CHECK_MAN) $@ |
|
402 | 408 |
|
403 | 409 |
man/%.8: man/%.8.in $(REPLACE_VARS_SED) |
404 | 410 |
sed -f $(REPLACE_VARS_SED) < $< > $@ |
411 |
$(CHECK_MAN) $@ |
|
405 | 412 |
|
406 | 413 |
man/%.html: man/%.html.in $(REPLACE_VARS_SED) |
407 | 414 |
sed -f $(REPLACE_VARS_SED) < $< > $@ |
b/autotools/check-man | ||
---|---|---|
1 |
#!/bin/bash |
|
2 |
# |
|
3 |
|
|
4 |
# Copyright (C) 2010 Google Inc. |
|
5 |
# |
|
6 |
# This program is free software; you can redistribute it and/or modify |
|
7 |
# it under the terms of the GNU General Public License as published by |
|
8 |
# the Free Software Foundation; either version 2 of the License, or |
|
9 |
# (at your option) any later version. |
|
10 |
# |
|
11 |
# This program is distributed in the hope that it will be useful, but |
|
12 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
14 |
# General Public License for more details. |
|
15 |
# |
|
16 |
# You should have received a copy of the GNU General Public License |
|
17 |
# along with this program; if not, write to the Free Software |
|
18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
|
19 |
# 02110-1301, USA. |
|
20 |
|
|
21 |
set -e |
|
22 |
|
|
23 |
! LC_ALL=C MANWIDTH=80 \ |
|
24 |
man --warnings --encoding=utf8 --local-file "$1" 2>&1 >/dev/null | grep . |
b/man/gnt-cluster.sgml | ||
---|---|---|
723 | 723 |
<para> |
724 | 724 |
Note that only active disks can be checked by this command; in |
725 | 725 |
case a disk cannot be activated it's advised to use |
726 |
<command>gnt-instance activate-disks --ignore-size |
|
727 |
...</command> to force activation without regard to the
|
|
726 |
<command>gnt-instance activate-disks --ignore-size ...</command> to
|
|
727 |
force activation without regard to the |
|
728 | 728 |
current size. |
729 | 729 |
</para> |
730 | 730 |
|
Also available in: Unified diff