]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/texinfo-rules.make
patch::: 1.3.119.jcn2
[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         cd $(outdir); texi2dvi --batch --clean ../$< 
21
22 $(outdir)/%.txt: $(outdir)/%.texi
23         $(MAKEINFO) -I../ -I $(outdir) --no-split --no-headers --output $@ $<
24
25 $(outdir)/%.texi: %.texi
26         rm -f $@
27         cp $< $@
28         chmod -w $@
29
30
31