]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/Makefile
release: 0.0.50
[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         echo $(TEXTFILES) $(OUTPODFILES) $(PODFILES)
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) $(HTMLFILES)
53
54 localinstall: $(outdir)/lilypond.1 $(outdir)/mudela.5
55         $(INSTALL) -d $(mandir)/man5
56         $(INSTALL) -d $(mandir)/man1
57         $(INSTALL) -m 755 $(outdir)/lilypond.1 $(mandir)/man1
58         $(INSTALL) -m 755 $(outdir)/mudela.5 $(mandir)/man5
59  
60 localuninstall:
61         rm -f $(mandir)/man1/lilypond.1