]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/Makefile
release: 0.0.20
[lilypond.git] / Documentation / Makefile
1 PODS=README.pod CodingStyle.pod lilygut.pod lilyinput.pod
2 TXTS=$(PODS:.pod=.txt)
3 MANS=$(PODS:.pod=.1)
4 DOCFILES=$(PODS) Makefile 
5
6
7 default:
8         $(MAKE) -C .. doc
9
10 doc: $(TXTS)
11
12 dist:
13         ln $(DOCFILES) $(DDIR)/Documentation/
14 clean:
15         rm -f $(TXTS) $(MANS)
16
17 %.txt: %.1
18         groff -man -Tascii $< > $@
19
20 %.1: %.pod
21         pod2man --center="LilyPond documentation" --section="0"\
22                 --release="LilyPond $(MAJVER).$(MINVER).$(PATCHLEVEL)" $< > $@
23