File: Makefile.am

package info (click to toggle)
openct 0.6.4-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,788 kB
  • ctags: 1,694
  • sloc: ansic: 15,729; sh: 8,596; xml: 651; makefile: 193
file content (17 lines) | stat: -rw-r--r-- 525 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Process this file with automake to create Makefile.in

MAINTAINERCLEANFILES = Makefile.in

EXTRA_DIST = openct.xml openct.xsl openct.html openct.css
noinst_DATA = openct.html

%.html: %.xml
	@if [ -f /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/docbook.xsl ]; then \
	        echo xsltproc -o $@ openct.xsl $<; \
	        xsltproc -o $@ openct.xsl $<; \
		echo tidy -im -utf8 -xml $@; \
		tidy -im -utf8 -xml $@ || true; \
	else \
		echo "docbook.xsl not installed, cannot generate $@ docs" >&2; \
		touch $@; \
	fi