File: Makefile.am

package info (click to toggle)
crimson 0.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,968 kB
  • sloc: cpp: 21,862; ansic: 1,722; xml: 1,625; sh: 994; makefile: 277
file content (37 lines) | stat: -rw-r--r-- 986 bytes parent folder | download | duplicates (3)
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
if BUILD_BI2CF
BI2CF_MAN = bi2cf.6
endif
if BUILD_CFED
CFED_MAN = cfed.6
endif
if BUILD_COMET
COMET_MAN = comet.6
endif
man_MANS = $(BI2CF_MAN) $(CFED_MAN) $(COMET_MAN) crimson.6
xml_DOCS = bi2cf.xml cfed.xml comet.xml crimson.xml
EXTRA_DIST = bi2cf.6 cfed.6 comet.6 crimson.6 $(xml_DOCS) crimson.css

XSLT_DB2MAN = http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
XSLT_DB2HTML = http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl

%.6:		%.xml
		$(if $(XSLTPROC), \
		  $(XSLTPROC) -o "$@" $(XSLT_DB2MAN) "$<")

%.html:		%.xml
		$(if $(XSLTPROC), \
		  $(XSLTPROC) --stringparam html.stylesheet crimson.css \
		  -o "$@" $(XSLT_DB2HTML) "$<")

html-local:	bi2cf.html cfed.html comet.html crimson.html

check-local:	$(xml_DOCS)
		$(if $(XMLLINT), \
		  cd $(top_srcdir)/doc; $(XMLLINT) --noout --valid $(xml_DOCS))

# require xsltproc on make dist
dist-hook:
		$(if $(XSLTPROC),, \
		  $(error xsltproc must be available in order to make dist))