]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/Docrules.make
release: 0.1.63
[lilypond.git] / make / Docrules.make
index 578dcea07edaa85999bb0fd805b3dba447bd96ea..fdd23e632f86c7ea0838fd71c44066b175087225 100644 (file)
@@ -1,7 +1,7 @@
 # special rules for the documentation section.
 # There are too many to add to the general rules
 
-.SUFFIXES: .pod .txt .1  .html
+.SUFFIXES: .pod .1 $(DOTTEXT) .html
 
 pod2html=pod2html
 pod2groff=pod2man --center="LilyPond documentation" --section="0"\
@@ -17,13 +17,17 @@ $(outdir)/%.dvi: $(outdir)/%.mudtex
 $(outdir)/%.mudtex: %.doc
        $(depth)/bin/out/mudela-book  --outdir=$(outdir)/ --outname=$(notdir $@) $<
 
-$(outdir)/%.txt: $(outdir)/%.1
+$(outdir)/%$(DOTTEXT): $(outdir)/%.1
        troff -man -Tascii $< | grotty -b -u -o > $@
 
-$(depth)/%.txt: $(outdir)/%.txt
+#$(depth)/%$(DOTTEXT): $(outdir)/%$(DOTTEXT)
+# urg
+# $(depth)/%$(DOTTEXT): out/%$(DOTTEXT)
+#      cp $< $@
+# huh?
+$(outdir)/%$(DOTTEXT): $(depth)/%
        cp $< $@
 
-
 #  perl 5.003/4
 POD2HTML5004=$(POD2HTML) --noindex --infile $< --outfile=$@;  sh $(depth)/bin/add-URLs.sh $@