]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/texinfo-rules.make
patch::: 1.3.119.jcn3
[lilypond.git] / stepmake / stepmake / texinfo-rules.make
1 # Texinfo_rules.make
2
3 .SUFFIXES: .html .info .texi .texinfo
4
5 $(outdir)/%.info: $(outdir)/%.texi
6         -$(MAKEINFO) --force -I $(outdir) --output=$@ $<
7
8 $(outdir)/%.html: $(outdir)/%.texi
9         -$(MAKEINFO) --force -I $(outdir) --output=$@ --html --no-split --no-headers $<
10 # we want footers even if website builds (or is built) partly
11         $(footify) $@
12
13 # Generic rule not possible?
14 $(outdir)/%/%.html: $(outdir)/%.texi
15         -$(MAKEINFO) --force --output=$@ --html $<
16 # we want footers even if website builds (or is built) partly
17         $(deep-footify) $(sort $(wildcard $(outdir)/$(*F)/*.html))
18
19 $(outdir)/%.dvi: $(outdir)/%.texi
20 # ugh, --clean removes .. from TEXINPUTS?
21 #       cd $(outdir); texi2dvi --batch --clean ../$< 
22         cd $(outdir); texi2dvi --batch ../$< 
23
24 $(outdir)/%.txt: $(outdir)/%.texi
25         $(MAKEINFO) -I../ -I $(outdir) --no-split --no-headers --output $@ $<
26
27 $(outdir)/%.texi: %.texi
28         rm -f $@
29         cp $< $@
30         chmod -w $@
31
32
33