]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add a manpage for cg_annotate. Now only valgrind-listener and cg_merge lack
authorNicholas Nethercote <njn@valgrind.org>
Fri, 7 Aug 2009 07:56:20 +0000 (07:56 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Fri, 7 Aug 2009 07:56:20 +0000 (07:56 +0000)
a manpage, and they're so simple I can't be bothered doing ones for them
(they don't even have sections in the manual).

Also fixed a few minor things relating to manpages.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10744

cachegrind/Makefile.am
cachegrind/docs/cg-manual.xml
cachegrind/docs/cg_annotate-manpage.xml [new file with mode: 0644]
callgrind/docs/callgrind_annotate-manpage.xml
callgrind/docs/callgrind_control-manpage.xml
docs/Makefile.am
docs/xml/manpages-index.xml
docs/xml/valgrind-manpage.xml
massif/docs/ms_print-manpage.xml

index fa257f048532c3949a7569a4622135118e6da8e2..94df249e600a796e19a31b30959934dde3908160 100644 (file)
@@ -1,6 +1,8 @@
 include $(top_srcdir)/Makefile.tool.am
 
-EXTRA_DIST = docs/cg-manual.xml
+EXTRA_DIST = \
+       docs/cg-manual.xml \
+       docs/cg_annotate-manpage.xml
 
 #----------------------------------------------------------------------------
 # Headers, etc
index 7eedb134c914a5214cbb1d4dbb53aac002f2a250..88db94e75a6f10b27c653c11ae8dc2a32955a22d 100644 (file)
@@ -793,7 +793,8 @@ fail these checks.</para>
 <sect1 id="cg-manual.annopts" xreflabel="cg_annotate Options">
 <title>cg_annotate Options</title>
 
-<variablelist>
+<!-- start of xi:include in the manpage -->
+<variablelist id="cg_annotate.opts.list">
 
   <varlistentry>
     <term>
@@ -896,6 +897,7 @@ fail these checks.</para>
   </varlistentry>
 
 </variablelist>
+<!-- end of xi:include in the manpage -->
   
 </sect1>
 
diff --git a/cachegrind/docs/cg_annotate-manpage.xml b/cachegrind/docs/cg_annotate-manpage.xml
new file mode 100644 (file)
index 0000000..a817889
--- /dev/null
@@ -0,0 +1,73 @@
+<?xml version="1.0"?> <!-- -*- sgml -*- -->
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+          "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
+[ <!ENTITY % vg-entities SYSTEM "../../docs/xml/vg-entities.xml"> %vg-entities; ]>
+
+
+<refentry id="cg_annotate">
+
+<refmeta>
+  <refentrytitle>cg_annotate</refentrytitle>
+  <manvolnum>1</manvolnum>
+  <refmiscinfo>Release &rel-version;</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+  <refname>cg_annotate</refname>
+  <refpurpose>post-processing tool for Cachegrind</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+  <command>cg_annotate</command>
+  <arg><replaceable>options</replaceable></arg>
+  <arg>filename</arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+
+<refsect1 id="description">
+<title>Description</title>
+
+<para><command>cg_annotate</command> takes an output file produced by the
+Valgrind tool Cachegrind and prints the information in an easy-to-read form.
+</para>
+
+</refsect1>
+
+
+
+<refsect1 id="options">
+<title>Options</title>
+
+<xi:include href="cg-manual.xml" xpointer="cg_annotate.opts.list"
+            xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</refsect1>
+
+
+
+
+<refsect1 id="see_also">
+<title>See Also</title>
+
+<para>
+valgrind(1),
+<filename>&vg-docs-path;</filename> or
+<filename>&vg-docs-url;</filename>.
+</para>
+
+</refsect1>
+
+
+<refsect1 id="author">
+<title>Author</title>
+
+<para>Nicholas Nethercote.</para>
+
+</refsect1>
+
+
+</refentry>
+
+
index 42323168d5cbe2c74c67e86d5f21eb8b2430a213..a1d8aa8dec1b5b88b64044c348c7a643adc1b4be 100644 (file)
@@ -14,7 +14,7 @@
 
 <refnamediv id="a-name">
   <refname>callgrind_annotate</refname>
-  <refpurpose>post-processing tool for the Valgrind tool Callgrind</refpurpose>
+  <refpurpose>post-processing tool for the Callgrind</refpurpose>
 </refnamediv>
 
 <refsynopsisdiv id="a-synopsis">
index 2b5a2bd7500560c5bb0fc3e1d42eb7de30811e7f..dd71af0afb87282783e1ebb6db0499e39b8b13a6 100644 (file)
@@ -13,8 +13,7 @@
 
 <refnamediv id="c-name">
   <refname>callgrind_control</refname>
-  <refpurpose>observe and control programs being run by the Valgrind tool
-  Callgrind</refpurpose>
+  <refpurpose>observe and control programs being run by Callgrind</refpurpose>
 </refnamediv>
 
 <refsynopsisdiv id="c-synopsis">
@@ -43,6 +42,8 @@ being run by Callgrind.</para>
 <refsect1 id="c-options">
 <title>Options</title>
 
+<xi:include href="cl-manual.xml" xpointer="callgrind_control.opts.list"
+            xmlns:xi="http://www.w3.org/2001/XInclude" />
 
 </refsect1>
 
index 9cf464e0f0fabcd3d8927e0bf54e064401e6c114..f0151fd5bea2997a1458a0a83d2b3318af75f110 100644 (file)
@@ -111,7 +111,7 @@ XSL_MAN_STYLES = \
     /usr/share/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl \
     /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
 
-all-docs: FAQ.txt man-page html-docs print-docs
+all-docs: FAQ.txt man-pages html-docs print-docs
 
 valid:
        $(XMLLINT) $(XMLLINT_FLAGS) $(myxmldir)/index.xml
@@ -123,7 +123,7 @@ FAQ.txt:
        $(XSLTPROC) $(XSLTPROC_FLAGS) -o ./FAQ.txt $(XSL_TEXT_STYLE) $(myxmldir)/FAQ.xml
 
 # the valgrind manpages
-man-page:
+man-pages:
        for x in $(XSL_MAN_STYLES) ; do \
            if test -f $$x; then \
                echo "Using manpage stylesheet: $$x"; \
@@ -198,14 +198,14 @@ install-data-hook:
 # docs and man page and copies them into the docs/ directory in the
 # tarball.
  ifeq ($(BUILD_ALL_DOCS),yes)
-dist-hook: FAQ.txt html-docs print-docs man-page
+dist-hook: FAQ.txt html-docs print-docs man-pages
        cp -r html $(distdir)
        cp FAQ.txt $(distdir)/..
        cp valgrind.1 $(distdir)
        cp print/index.pdf $(distdir)
        cp print/index.ps $(distdir)
  else
-dist-hook: FAQ.txt html-docs man-page
+dist-hook: FAQ.txt html-docs man-pages
        cp FAQ.txt $(distdir)/..
        cp -r html $(distdir)
  endif
index 889bb8fa6274466a7183f66c1a2ae8d1d359db9f..b02fc9ca300fd659fc160b91718d35c8eeb83857 100644 (file)
 <xi:include href="valgrind-manpage.xml" parse="xml"  
     xmlns:xi="http://www.w3.org/2001/XInclude" />
 
+<!-- cg_annotate -->
+<xi:include href="../../cachegrind/docs/cg_annotate-manpage.xml" parse="xml"  
+    xmlns:xi="http://www.w3.org/2001/XInclude" />
+
 <!-- callgrind_annotate -->
 <xi:include href="../../callgrind/docs/callgrind_annotate-manpage.xml" parse="xml"  
     xmlns:xi="http://www.w3.org/2001/XInclude" />
index 1bd56818560a2aceb7e2cf2a522a832e41e5e951..04918e291c7d73ccedeef088775d44eaba39e73f 100644 (file)
@@ -222,6 +222,7 @@ system: <filename>&vg-docs-path;</filename>, or online:
 <title>See Also</title>
 
 <para>
+cg_annotate(1),
 callgrind_annotate(1),
 callgrind_control(1),
 ms_print(1),
index efec8fded8621f831afd1e9bc18bb2108de32cf3..835d49bcfbc5e358c624ad5d7a71c4a1d892e036 100644 (file)
@@ -14,7 +14,7 @@
 
 <refnamediv>
   <refname>ms_print</refname>
-  <refpurpose>post-processing tool for the Valgrind tool Massif</refpurpose>
+  <refpurpose>post-processing tool for Massif</refpurpose>
 </refnamediv>
 
 <refsynopsisdiv>