]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/Makefile
release: 0.0.39-1
[lilypond.git] / Documentation / Makefile
1 # Documentation/Makefile
2
3 # subdir level:
4 #
5 depth = ..
6 #
7
8 # identify module:
9 #
10 NAME = Documentation
11 MAJOR_VERSION = $(TOPLEVEL_MAJOR_VERSION)
12 MINOR_VERSION = $(TOPLEVEL_MINOR_VERSION)
13 PATCH_LEVEL = $(TOPLEVEL_PATCH_LEVEL)
14 # use to send patches, always empty for released version:
15 MY_PATCH_LEVEL = $(TOPLEVEL_MY_PATCH_LEVEL)
16 build = ./$(depth)/lily/.build
17 #
18
19 # generic variables:
20 #
21 include ./$(depth)/make/Variables.make 
22 #
23
24 # list of source files:
25 #
26 PODFILES = $(shell ls *.pod)
27 OUTPODFILES = $(patsubst %,$(outdir)/%,$(PODFILES))
28 TEXTFILES = $(OUTPODFILES:.pod=.text)
29 MANFILES = $(OUTPODFILES:.pod=.1)
30 HTMLFILES = $(OUTPODFILES:.pod=.html)
31 #
32
33 # list of distribution files:
34 #
35 DISTFILES = $(PODFILES) Makefile lelie_logo.png
36 #
37
38 default: do-doc
39
40 do-doc: $(TEXTFILES)
41
42 html: $(pod)
43         pod2html
44
45 htmldist: html
46         ./$(bindir)/make_website
47
48 # generic targets and rules:
49 #
50 include ./$(depth)/make/Targets.make
51 include ./$(depth)/make/Rules.make
52 #
53