summaryrefslogtreecommitdiffstats
path: root/doc/SystemTap_Tapset_Reference/Makefile.am
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-09-29 14:09:32 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-09-29 14:09:32 -0400
commit7a18a12684f498929b5938ceb18f66b18d2e1fe3 (patch)
treee2ef22aac08b85a54094445f7ec0509dbd45e304 /doc/SystemTap_Tapset_Reference/Makefile.am
parentf3d75239e30b5ba55936d9340b0e95caa698034b (diff)
downloadsystemtap-steved-7a18a12684f498929b5938ceb18f66b18d2e1fe3.tar.gz
systemtap-steved-7a18a12684f498929b5938ceb18f66b18d2e1fe3.tar.xz
systemtap-steved-7a18a12684f498929b5938ceb18f66b18d2e1fe3.zip
tapset docs cleanup
Several problems: some invalid <command> etc. directives in the tapset embedded docs; some analysis about the non-generation of the pdf; some cleanup of the generated man pages. * configure.ac (BUILD_PDFREFDOCS): Correct condition typo, but still leave disabled. * doc/SystemTap_Tapset_Reference/Makefile.am (XMLTOMANPARMS): Add, to disable noise "AUTHORS" / "COPYRIGHT" sections. * tapset/*.stp: Removed several docbook-y markup that is not valid in kerneldoc.
Diffstat (limited to 'doc/SystemTap_Tapset_Reference/Makefile.am')
-rw-r--r--doc/SystemTap_Tapset_Reference/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/SystemTap_Tapset_Reference/Makefile.am b/doc/SystemTap_Tapset_Reference/Makefile.am
index 4adba34e..bd1bb18f 100644
--- a/doc/SystemTap_Tapset_Reference/Makefile.am
+++ b/doc/SystemTap_Tapset_Reference/Makefile.am
@@ -22,6 +22,8 @@ if BUILD_PDFREFDOCS
PDFDOCS = tapsets.pdf
endif
+XMLTOMANPARAMS=--stringparam man.authors.section.enabled=0 --stringparam man.copyright.section.enabled=0
+
if BUILD_REFDOCS
all: $(PDFDOCS) stamp-htmldocs stamp-mandocs
tapsets.xml: docproc $(shell find $(SRCTREE)/tapset -name '*.stp')
@@ -34,15 +36,15 @@ tapsets.xml: docproc $(shell find $(SRCTREE)/tapset -name '*.stp')
fi
stamp-htmldocs: tapsets.xml
- xmlto html -o tapsets tapsets.xml
+ xmlto $(XMLTOHTMLPARAMS) html -o tapsets tapsets.xml
touch stamp-htmldocs
# bump up the allocated space so "xmlto pdf" works
tapsets.pdf: tapsets.xml
- env pool_size=2000000 hash_extra=2000000 xmlto pdf tapsets.xml
+ env pool_size=2000000 hash_extra=2000000 xmlto $(XMLTOPDFPARAMS) pdf tapsets.xml
stamp-mandocs: tapsets.xml
- xmlto man -o man3 tapsets.xml
+ xmlto $(XMLTOMANPARAMS) man -o man3 tapsets.xml
touch stamp-mandocs
#FIXME need to figure out where to install things appropriately