]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/Makefile
release: 0.0.37
[lilypond.git] / Documentation / Makefile
1 PODS=README.pod CodingStyle.pod lilygut.pod lilyinput.pod error.pod\
2         faq.pod index.pod language.pod
3 TXTS=$(PODS:.pod=.txt)
4 MANS=$(PODS:.pod=.1)
5 HTMLS=$(PODS:.pod=.html)
6 DISTFILES=$(PODS) Makefile lelie_logo.png make_website
7
8
9 default:
10         $(MAKE) -C .. doc
11
12 doc: $(TXTS)
13
14 dist:
15         ln $(DISTFILES) $(DDIR)/$(SUBDIR)
16 clean:
17         rm -f $(TXTS) $(MANS)
18
19 %.txt: %.1
20         groff -man -Tascii $< > $@
21
22 %.1: %.pod
23         pod2man --center="LilyPond documentation" --section="0"\
24                 --release="LilyPond $(MAJVER).$(MINVER).$(PATCHLEVEL)" $< > $@
25
26 html: $(pod)
27         pod2html
28
29 htmldist: html
30         make_website