File: Makefile

package info (click to toggle)
liblqr 0.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,844 kB
  • ctags: 329
  • sloc: sh: 9,065; ansic: 2,201; cpp: 934; makefile: 188
file content (30 lines) | stat: -rw-r--r-- 441 bytes parent folder | download
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
name = liblqr_manual
source = $(name).docbook
dest = html/index.html
main = $(name).html

stylesheet = lqr_style.xsl
redir = redir-html

.PHONY : all sgml xml


all: xml

#sgml : $(dest)

#$(dest): $(source)
#	docbook2html $(source) -o html

xml: $(main)

$(main) : $(dest)
	cp -f $(redir) $(main)

$(dest): $(source) $(stylesheet)
	[ -d html ] || mkdir html
	cd html; \
	xsltproc ../$(stylesheet) ../$(source)

clean:
	rm -f html/* $(main)