]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/Makefile
release: 0.0.42.pre3
[lilypond.git] / Documentation / Makefile
1 # Documentation/Makefile
2
3 # subdir level:
4 #
5 depth = ..
6 #
7
8 # identify module:
9 #
10 NAME = Documentation
11
12 #
13
14 # generic variables:
15 #
16 include ./$(depth)/make/Variables.make 
17 include ./$(depth)/make/Version.make
18 include ./$(depth)/make/Files.make 
19 #
20
21 #
22
23 OUTPODFILES = $(patsubst %,$(outdir)/%,$(PODFILES))
24 TEXTFILES = $(OUTPODFILES:.pod=.text)
25 GROFFFILES = $(OUTPODFILES:.pod=.1)
26 HTMLFILES = $(OUTPODFILES:.pod=.html)
27 #
28
29 # list of distribution files:
30 #
31 EXTRA_DISTFILES = lelie_icon.gif lelie_logo.gif
32 #
33
34 default: do-doc
35
36 do-doc: $(TEXTFILES)
37
38 html: $(pod)
39         pod2html
40
41 htmldist: html
42         ./$(lily_bindir)/make_website
43
44
45 # generic targets and rules:
46 #
47 include ./$(depth)/make/Targets.make
48 include ./$(depth)/make/Rules.make
49 #
50
51 localclean:
52         rm -f $(TEXTFILES) $(HTMLFILES) $(GROFFFILES)
53
54 localinstall: $(outdir)/lilypond.1
55         $(INSTALL) -d $(mandir)/man1
56         $(INSTALL) -m 755 $< $(mandir)/man1
57
58 localuninstall:
59         rm -f $(mandir)/man1/lilypond.1