summaryrefslogtreecommitdiffstats
path: root/doc/SystemTap_Tapset_Reference/Makefile.am
diff options
context:
space:
mode:
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