]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/Makefile
release: 0.0.57
[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 do-doc: $(TEXTFILES)
37
38 html: $(HTMLFILES)
39
40 htmldist: html
41         ./$(lily_bindir)/make_website
42
43
44 # generic targets and rules:
45 #
46 include ./$(depth)/make/Targets.make
47 include ./$(depth)/make/Rules.make
48 #
49
50 localclean:
51         rm -f out/*
52         rm -f $(TEXTFILES) $(HTMLFILES) $(GROFFFILES)
53
54 MAN1FILES = lilypond convert-mudela mi2mu
55 MAN1GROFF = $(addprefix $(outdir)/, $(addsuffix .1,$(MAN1FILES)))
56
57 bla:
58         echo $(MANGROFF)
59         echo $(MANFILES)
60
61 localinstall: $(outdir)/lilypond.1 $(outdir)/mudela.5
62         $(INSTALL) -d $(mandir)/man5
63         $(INSTALL) -d $(mandir)/man1
64         $(INSTALL) -m 755 $(MAN1GROFF) $(mandir)/man1
65         $(INSTALL) -m 755 $(outdir)/mudela.5 $(mandir)/man5
66
67 localuninstall:
68         rm -f $(mandir)/man1/lilypond.1
69         rm -f $(mandir)/man1/convert-mudela.1