git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
extra tests: Run OCaml tests under valgrind.
[libguestfs.git]
/
podwrapper.sh.in
diff --git
a/podwrapper.sh.in
b/podwrapper.sh.in
index
c766054
..
967f44c
100755
(executable)
--- a/
podwrapper.sh.in
+++ b/
podwrapper.sh.in
@@
-1,6
+1,6
@@
#!/bin/bash -
# podwrapper.sh
#!/bin/bash -
# podwrapper.sh
-# Copyright (C) 2010 Red Hat Inc.
+# Copyright (C) 2010
-2011
Red Hat Inc.
# @configure_input@
#
# This program is free software; you can redistribute it and/or modify
# @configure_input@
#
# This program is free software; you can redistribute it and/or modify
@@
-15,7
+15,7
@@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139,
USA.
+# Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA.
# Wrapper script around POD utilities which can include files in the
# POD and controls HTML generation.
# Wrapper script around POD utilities which can include files in the
# POD and controls HTML generation.
@@
-30,6
+30,8
@@
PACKAGE_VERSION="@PACKAGE_VERSION@"
POD2MAN="@POD2MAN@"
POD2TEXT="@POD2TEXT@"
POD2HTML="@POD2HTML@"
POD2MAN="@POD2MAN@"
POD2TEXT="@POD2TEXT@"
POD2HTML="@POD2HTML@"
+POD2_STDERR_OPTION="@POD2_STDERR_OPTION@"
+POD2_UTF8_OPTION="@POD2_UTF8_OPTION@"
# This script could be run with any current directory, so if a source
# or build path is required it must be relative to the following
# This script could be run with any current directory, so if a source
# or build path is required it must be relative to the following
@@
-164,7
+166,7
@@
fi
# Now generate the final output format(s).
if [ -n "$man_output" ]; then
# Now generate the final output format(s).
if [ -n "$man_output" ]; then
- "$POD2MAN"
--stderr -u
\
+ "$POD2MAN"
"$POD2_STDERR_OPTION" "$POD2_UTF8_OPTION"
\
--section "$section" -c "Virtualization Support" --name "$name" \
--release "$PACKAGE_NAME-$PACKAGE_VERSION" \
< $tmpdir/full.pod > "$man_output".tmp
--section "$section" -c "Virtualization Support" --name "$name" \
--release "$PACKAGE_NAME-$PACKAGE_VERSION" \
< $tmpdir/full.pod > "$man_output".tmp
@@
-172,12
+174,13
@@
if [ -n "$man_output" ]; then
fi
if [ -n "$text_output" ]; then
fi
if [ -n "$text_output" ]; then
- "$POD2TEXT"
--stderr -u
\
+ "$POD2TEXT"
"$POD2_STDERR_OPTION" "$POD2_UTF8_OPTION"
\
< $tmpdir/full.pod > "$text_output".tmp
mv "$text_output".tmp "$text_output"
fi
if [ -n "$html_output" ]; then
< $tmpdir/full.pod > "$text_output".tmp
mv "$text_output".tmp "$text_output"
fi
if [ -n "$html_output" ]; then
+ mkdir -p "$abs_top_builddir/html"
"$POD2HTML" \
--css "pod.css" --htmldir "$abs_top_builddir/html" \
< $tmpdir/full.pod > "$html_output".tmp
"$POD2HTML" \
--css "pod.css" --htmldir "$abs_top_builddir/html" \
< $tmpdir/full.pod > "$html_output".tmp