blob: c196e977b9f50dcc99784279e87449f273fe60c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 tapsets tapsets.xml
pdfdocs: xmldocs
xmlto pdf tapsets.xml
mandocs: xmldocs
xmlto man -o man5 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/
|