File: Makefile.am

package info (click to toggle)
libusb 2%3A0.1.12-13
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,172 kB
  • ctags: 483
  • sloc: sh: 8,374; ansic: 2,626; cpp: 960; makefile: 225
file content (31 lines) | stat: -rw-r--r-- 812 bytes parent folder | download | duplicates (11)
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
sgml_files = manual.sgml intro.sgml api.sgml functions.sgml examples.sgml

# For when we have a man page :)
man_MANS = 

EXTRA_DIST = manual.sgml api.sgml examples.sgml functions.sgml \
	intro.sgml website.dsl $(man_MANS)

# I grabbed this same hack from the VACM docs/Makfile.am
CLEANFILES = manual.dvi manual.aux manual.tex manual.log \
	manual.ps.gz; rm -rf html

if BUILD_DOCS
#MANUALS = manual.ps.gz html/index.html
MANUALS = html/index.html
# Generating postscript takes forever on my laptop apparentely
else
MANUALS =
endif

all: $(MANUALS)

manual.ps.gz: $(sgml_files) website.dsl
	@JADE@ -t ps -d $(srcdir)/website.dsl\#print $(srcdir)/manual.sgml
	gzip manual.ps

html/index.html: $(sgml_files) website.dsl
	rm -rf html
	mkdir html
	@JADE@ -t sgml -d $(srcdir)/website.dsl\#html $(srcdir)/manual.sgml