]> git.donarmstrong.com Git - lilypond.git/blob - make/mudela-rules.make
e74e96f70ccebc8684b47e44b0fef5d6ba054fff
[lilypond.git] / make / mudela-rules.make
1 # Mudela_rules.make
2
3 .SUFFIXES: .doc .dvi .mudtex .tely .texi
4
5 $(outdir)/%.latex: %.doc
6         cd $(outdir);  $(PYTHON) $(depth)/../scripts/mudela-book.py -I .. -I $(depth)/../input/test/ --dependencies ../$< 
7 #       sed 's! \.\./! !g'<  $(basename $@).dep > $(outdir)/temp.dep 
8 #       sed 's!^\(.*\):!'$(outdir)'/\1:!g' < $(outdir)/temp.dep > $(basename $@).dep 
9 #       rm $(outdir)/temp.dep
10
11 $(outdir)/%.texi: %.tely
12         cd $(outdir); $(PYTHON) $(depth)/../scripts/mudela-book.py -I .. -I $(depth)/../input/test/ --dependencies --format=texi ../$<
13
14 $(outdir)/%.info: $(outdir)/%.texi
15         makeinfo --output=$@ $<
16
17 $(outdir)/%.html:       $(outdir)/%.texi
18         makeinfo --output=$@ --html --no-headers $< 
19         $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=$(depth)/../index.html $@ $(wildcard $(basename $@)[0-9][0-9].html)
20
21 $(outdir)/%.dvi:        $(outdir)/%.texi
22         cd $(outdir); texi2dvi --clean ../$<