diff options
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/ + |