diff options
author | William Cohen <wcohen@redhat.com> | 2008-11-25 11:02:08 -0500 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2008-11-25 11:02:08 -0500 |
commit | 0cce60ac57b25f73f74b2e42b226b2c05162feea (patch) | |
tree | 45ea47a56c6a31e447faf72429389c441ada4d9b /doc/SystemTap_Tapset_Reference/Makefile.am | |
parent | 488c6541711c86e021a38b53247e6ac47e89f538 (diff) | |
download | systemtap-steved-0cce60ac57b25f73f74b2e42b226b2c05162feea.tar.gz systemtap-steved-0cce60ac57b25f73f74b2e42b226b2c05162feea.tar.xz systemtap-steved-0cce60ac57b25f73f74b2e42b226b2c05162feea.zip |
Add kernel-doc based version of SystemTap_Tapset_Reference.
Diffstat (limited to 'doc/SystemTap_Tapset_Reference/Makefile.am')
-rw-r--r-- | doc/SystemTap_Tapset_Reference/Makefile.am | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/SystemTap_Tapset_Reference/Makefile.am b/doc/SystemTap_Tapset_Reference/Makefile.am new file mode 100644 index 00000000..8327e900 --- /dev/null +++ b/doc/SystemTap_Tapset_Reference/Makefile.am @@ -0,0 +1,37 @@ +# Makefile.am --- automake input file for systemtap tapset reference manual +## process this file with automake to produce Makefile.in + +### +# The build process is as follows (targets): +# (xmldocs) [by docproc] +# file.tmpl --> file.xml +--> file.ps (psdocs) [by xmlto] +# +--> file.pdf (pdfdocs) [by xmlto] +# +--> DIR=file (htmldocs) [by xmlto] +# +--> man/ (mandocs) [by xmlto] + +bin_PROGRAMS = docproc +docproc_SOURCES = docproc.c + +all: pdfdocs htmldocs mandocs + + +SRCTREE=$(abs_top_srcdir)/ +DOCPROC=$(abs_builddir)/docproc + +xmldocs: docproc + SRCTREE=$(SRCTREE) $(DOCPROC) doc $(abs_srcdir)/tapsets.tmpl > tapsets.xml + +htmldocs: xmldocs + xmlto html -o tapset tapsets.xml + +pdfdocs: xmldocs + xmlto pdf tapsets.xml + +mandocs: xmldocs + xmlto man tapsets.xml + +#FIXME need to figure out where to install things appropriately +#installmandocs: mandocs +# $(MKDIR_P) /usr/local/man/man5/ +# install Documentation/DocBook/man/*.5.gz /usr/local/man/man5/ + |