1 # Documentation/man/Makefile
5 STEPMAKE_TEMPLATES=documentation install-out
7 MANTXT = $(addprefix $(outdir)/, $(addsuffix .txt,$(basename $(TEXINFO_FILES) .texinfo)))
8 MANGROFF = $(addprefix $(outdir)/, $(addsuffix .$(SECTION),$(basename $(YO_FILES) .yo)))
10 OUT_DIST_FILES += $(MANGROFF)
12 include $(depth)/make/stepmake.make
16 INSTALLATION_OUT_FILES=$(MANGROFF)
17 INSTALLATION_OUT_DIR=$(mandir)/man$(SECTION)
19 local-WWW: $(MANGROFF:.1=.html)
20 $(PYTHON) $(step-bindir)/ls-latex.py --package=$(topdir) --title 'Manual pages for LilyPond' $(YO_FILES) \
21 | sed "s!$(outdir)/!!g" > $(outdir)/index.html
22 $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) $(outdir)/index.html