summaryrefslogtreecommitdiff
path: root/Documentation/Makefile
blob: dd61be8065049a3229d9960d0a1183d382a64bd2 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Documentation/Makefile

# subdir level:
#
depth = ..
#

# identify module:
#
NAME = Documentation

#

# generic variables:
#
include ./$(depth)/make/Variables.make 
include ./$(depth)/make/Version.make
include ./$(depth)/make/Files.make 
#

#

OUTPODFILES = $(addprefix $(outdir)/,$(PODFILES))
TEXTFILES = $(OUTPODFILES:.pod=.text)
GROFFFILES = $(OUTPODFILES:.pod=.1)
HTMLFILES = $(OUTPODFILES:.pod=.html)
#

# list of distribution files:
#
EXTRA_DISTFILES = lelie_icon.gif lelie_logo.gif
#

default: do-doc
	echo $(TEXTFILES) $(OUTPODFILES) $(PODFILES)
do-doc: $(TEXTFILES)

html: $(HTMLFILES)

htmldist: html
	./$(lily_bindir)/make_website


# generic targets and rules:
#
include ./$(depth)/make/Targets.make
include ./$(depth)/make/Rules.make
#

localclean:
	rm -f out/*
	rm -f $(TEXTFILES) $(HTMLFILES) $(GROFFFILES) $(HTMLFILES)

localinstall: $(outdir)/lilypond.1 $(outdir)/mudela.5
	$(INSTALL) -d $(mandir)/man5
	$(INSTALL) -d $(mandir)/man1
	$(INSTALL) -m 755 $(outdir)/lilypond.1 $(mandir)/man1
	$(INSTALL) -m 755 $(outdir)/mudela.5 $(mandir)/man5
 
localuninstall:
	rm -f $(mandir)/man1/lilypond.1