File: Makefile.am

package info (click to toggle)
libusb 1%3A0.1.5-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 872 kB
  • ctags: 272
  • sloc: sh: 7,019; ansic: 1,228; makefile: 138
file content (31 lines) | stat: -rw-r--r-- 723 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
31
sgml_file = manual.sgml

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

EXTRA_DIST = $(sgml_file) 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_file) website.dsl
	@JADE@ -t ps -d website.dsl\#print $(sgml_file)
	gzip manual.ps

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