File: Makefile.am

package info (click to toggle)
ecasound 2.9.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 6,292 kB
  • sloc: cpp: 39,475; sh: 4,335; lisp: 1,918; ansic: 1,883; makefile: 888; python: 617; ruby: 202
file content (50 lines) | stat: -rw-r--r-- 1,760 bytes parent folder | download | duplicates (6)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
# ----------------------------------------------------------------------
# File: ecasound/Documentation/programmers_guide/Makefile.am
# Description: Ecasound documentation - programmer's guide
# License: GPL (see ecasound/{AUTHORS,COPYING})
# ----------------------------------------------------------------------

# ---------------------------------------------------------------------
# Files going into distribution:
EXTRA_DIST =	ecasound_programmers_guide.txt \
		eci_doc.latex

DISTCLEANFILES = \
	ecasound_programmers_guide.html \
	eci_doc.log \
	eci_doc.aux \
	eci_doc.toc \
	eci_doc.dvi \
	eci_doc.ps \
	ecasound_eci_doc.pdf \
	html_ecidoc/eci_doc.html \
	html_ecidoc/eci_doc.haux \
	html_ecidoc/eci_doc.htoc

all:

docs: ecasound_programmers_guide.html ecasound_eci_doc.pdf

ecasound_programmers_guide.html: $(srcdir)/ecasound_programmers_guide.txt
	rst2html $(srcdir)/ecasound_programmers_guide.txt ecasound_programmers_guide.html

# note: to create the table of contents (which spans multiple pages), and
#       re-calculate the page numbers after the page offset generated by table
#       of contents, latex needs to be ran 3 times. (Junichi Uekawa, 2007-08-06)

ecasound_eci_doc.pdf: $(srcdir)/eci_doc.latex eci_doc.dvi
	latex $(srcdir)/eci_doc.latex
	latex $(srcdir)/eci_doc.latex
	latex $(srcdir)/eci_doc.latex
	dvips -Ppdf -o eci_doc.ps eci_doc.dvi
	ps2pdf eci_doc.ps ecasound_eci_doc.pdf
	mkdir -p html_ecidoc
	hevea -o html_ecidoc/eci_doc.html $(srcdir)/eci_doc.latex
	hevea -o html_ecidoc/eci_doc.html $(srcdir)/eci_doc.latex

eci_doc.dvi: $(srcdir)/eci_doc.latex

clean-docs:
	rm -fv ecasound_programmers_guide.html ecasound_eci_doc.pdf
	rm -fv eci_doc.log eci_doc.toc eci_doc.dvi eci_doc.aux eci_doc.ps eci_doc.dvi
	rm -fv html_ecidoc/*