lilypond-0.0.40
[lilypond.git] / Documentation / Makefile
blobe95293e314d2206a27d98798a258c3e31792c041
1 # Documentation/Makefile
3 # subdir level:
5 depth = ..
8 # identify module:
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
19 # generic variables:
21 include ./$(depth)/make/Variables.make
24 # list of source files:
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)
33 # list of distribution files:
35 DISTFILES = $(PODFILES) Makefile lelie_logo.png
38 default: do-doc
40 do-doc: $(TEXTFILES)
42 html: $(pod)
43 pod2html
45 htmldist: html
46 ./$(bindir)/make_website
48 # generic targets and rules:
50 include ./$(depth)/make/Targets.make
51 include ./$(depth)/make/Rules.make