]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/Makefile
release: 0.0.73pre
[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 = $(addprefix $(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         true
36
37 do-doc: $(TEXTFILES)
38
39 html: $(HTMLFILES)
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 out/*
53         rm -f $(TEXTFILES) $(HTMLFILES) $(GROFFFILES)
54
55 MAN1FILES = lilypond convert-mudela mi2mu
56 MAN1GROFF = $(addprefix $(outdir)/, $(addsuffix .1,$(MAN1FILES)))
57
58 localinstall: $(outdir)/lilypond.1 $(outdir)/mudela.5
59         $(INSTALL) -d $(mandir)/man5
60         $(INSTALL) -d $(mandir)/man1
61         $(INSTALL) -m 755 $(MAN1GROFF) $(mandir)/man1
62         $(INSTALL) -m 755 $(outdir)/mudela.5 $(mandir)/man5
63
64 localuninstall:
65         rm -f $(mandir)/man1/lilypond.1
66         rm -f $(mandir)/man1/convert-mudela.1
67
68 xpms: