]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.20
authorfred <fred>
Sun, 22 Dec 1996 20:20:09 +0000 (20:20 +0000)
committerfred <fred>
Sun, 22 Dec 1996 20:20:09 +0000 (20:20 +0000)
Documentation/Makefile

index 7aa470764b3bc1d677724b30d97caa32c1d8d275..5eb21d58ce3c3c1c88e10fc91bf3b1b05f696a64 100644 (file)
@@ -1,6 +1,23 @@
+PODS=README.pod CodingStyle.pod lilygut.pod lilyinput.pod
+TXTS=$(PODS:.pod=.txt)
+MANS=$(PODS:.pod=.1)
+DOCFILES=$(PODS) Makefile 
 
-DOCFILES=commands CodingStyle algorithms Makefile breaking\
-       slurfont pointers design literature inputformat
+
+default:
+       $(MAKE) -C .. doc
+
+doc: $(TXTS)
 
 dist:
-       ln $(DOCFILES) $(DDIR)/Documentation/
\ No newline at end of file
+       ln $(DOCFILES) $(DDIR)/Documentation/
+clean:
+       rm -f $(TXTS) $(MANS)
+
+%.txt: %.1
+       groff -man -Tascii $< > $@
+
+%.1: %.pod
+       pod2man --center="LilyPond documentation" --section="0"\
+               --release="LilyPond $(MAJVER).$(MINVER).$(PATCHLEVEL)" $< > $@
+