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