summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-10-03 09:15:37 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-10-30 18:22:39 +0000
commitbfc527052816478061704b6404d385e9d3d203a9 (patch)
tree2e61fbcd45c3d1a9787f5c2219fa88fe2418ada4 /src
parenteef20065b88b7c5dd42d829a07c28afea37683f0 (diff)
downloadlibguestfs-bfc527052816478061704b6404d385e9d3d203a9.tar.gz
libguestfs-bfc527052816478061704b6404d385e9d3d203a9.tar.xz
libguestfs-bfc527052816478061704b6404d385e9d3d203a9.zip
syntax: Use __PATTERNS__ instead of @PATTERNS@ in podwrapper man pages.
It is slightly dangerous to use @PATTERNS@, since these might be substituted by autoconf when they appear in Makefile.am files. (cherry picked from commit 4a4ca0c01da3307b69fc4925c5f2ece1e728d4b3) (cherry picked from commit f346abfb412b772d57da1c58037bce7120534814)
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am6
-rw-r--r--src/guestfs.pod6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 499b7004..ee477792 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -204,9 +204,9 @@ stamp-guestfs.pod: guestfs.pod \
--section 3 \
--man guestfs.3 \
--html $(top_builddir)/html/guestfs.3.html \
- --insert $(srcdir)/guestfs-actions.pod:@ACTIONS@ \
- --insert $(srcdir)/guestfs-availability.pod:@AVAILABILITY@ \
- --insert $(srcdir)/guestfs-structs.pod:@STRUCTS@ \
+ --insert $(srcdir)/guestfs-actions.pod:__ACTIONS__ \
+ --insert $(srcdir)/guestfs-availability.pod:__AVAILABILITY__ \
+ --insert $(srcdir)/guestfs-structs.pod:__STRUCTS__ \
--license LGPLv2+ \
$<
touch $@
diff --git a/src/guestfs.pod b/src/guestfs.pod
index ada4a5f7..fe386d44 100644
--- a/src/guestfs.pod
+++ b/src/guestfs.pod
@@ -1617,11 +1617,11 @@ This returns the current out of memory handler.
=head1 API CALLS
-@ACTIONS@
+__ACTIONS__
=head1 STRUCTURES
-@STRUCTS@
+__STRUCTS__
=head1 AVAILABILITY
@@ -1632,7 +1632,7 @@ the following groups of functions. This test queries the
appliance to see if the appliance you are currently using
supports the functionality.
-@AVAILABILITY@
+__AVAILABILITY__
=head2 GUESTFISH supported COMMAND