1 # Documentation/man/Makefile
5 include $(depth)/make/Stepmake.make
7 include $(stepdir)/Documentation.vars.make
8 include $(stepdir)/Documentation_rules.make
11 MANTXT = $(addprefix $(outdir)/, $(addsuffix .txt,$(basename $(TEXINFO_FILES) .texinfo)))
12 MANGROFF = $(addprefix $(outdir)/, $(addsuffix .$(SECTION),$(basename $(YO_FILES) .yo)))
14 OUTTEXINFO_FILES= $(addprefix $(outdir)/, $(addsuffix .texinfo,$(basename $(YO_FILES) .yo)))
16 default: $(MANTXT) $(MANGROFF)
18 texinfo: $(OUTTEXINFO_FILES)
20 INSTALLATION_OUT_FILES=$(MANGROFF)
21 INSTALLATION_OUT_DIR=$(mandir)/man$(SECTION)
23 include $(stepdir)/Install_outfiles.make
25 local-WWW: $(MANGROFF:.1=.html)
26 $(PYTHON) $(step-bindir)/ls-latex.py --package=$(topdir) --title 'Manual pages for LilyPond' $(YO_FILES) \
27 | sed "s!$(outdir)/!!g" > $(outdir)/index.html
28 $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) $(outdir)/index.html