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