]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/Makefile
release: 0.1.7
[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 include ./Rules.make
20 #
21
22
23 #
24 DOCFILES = $(wildcard *.doc)
25 OUTPODFILES = $(addprefix $(outdir)/,$(PODFILES))
26 TEXTFILES = $(OUTPODFILES:.pod=.text)
27 GROFFFILES = $(OUTPODFILES:.pod=.1)
28 HTMLFILES = $(OUTPODFILES:.pod=.html)
29 DVIFILES = $(addprefix $(outdir)/, $(DOCFILES:.doc=.dvi))
30
31 #
32 # list of distribution files:
33 #
34 EXTRA_DISTFILES = lelie_icon.gif lelie_logo.gif  $(DOCFILES) 
35 # $(wildcard Vocab*)
36
37 default: do-doc
38
39 # don't do DVI files. They can only be made if lily is installed
40 do-doc: $(TEXTFILES)
41
42 html: $(HTMLFILES)
43
44 htmldist: html
45         $(lily_bindir)/make_website
46
47 dvi: $(DVIFILES)
48
49 # generic targets and rules:
50 #
51 include $(depth)/make/Targets.make
52 include $(depth)/make/Rules.make
53 #
54
55 localclean:
56         rm -f $(TEXTFILES) $(HTMLFILES) $(GROFFFILES)
57
58 MAN1FILES = lilypond convert-mudela mi2mu mudela-book
59 MAN1GROFF = $(addprefix $(outdir)/, $(addsuffix .1,$(MAN1FILES)))
60
61 localinstall: $(outdir)/lilypond.1
62         $(INSTALL) -d $(mandir)/man1
63         $(INSTALL) -m 644 $(MAN1GROFF) $(mandir)/man1
64
65
66 localuninstall:
67         (cd  $(mandir)/man1/; rm -f $(MAN1GROFF))
68
69
70