1 # stepmake/Documentation.shared.make
2 # urg: stuff shared between yodl/lily/stepmake
4 # could/should do this for bin/Makefile make/Makefile too
6 ### below here is shared between lily/yodl/Documentation and topdocs...
12 include $(stepdir)/Documentation.vars.make
13 include $(stepdir)/Documentation_rules.make
15 do-doc: $(OUTTXT_FILES)
18 ifeq ($(strip $(README_TOP_FILES)),)
19 readme-top_FILES-html:
22 readme-top_FILES-html:
23 for i in $(README_TOP_FILES); do \
24 $(SHELL) $(step-bindir)/text2html.sh $(outdir)/$$i.txt $(outdir)/$$i.html; \
25 $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=$(depth)/../index.html $(outdir)/$$i.html; \
29 local-WWW: readme-top_FILES-html $(OUTHTML_FILES) $(OUTREADME_HTML_FILES)
34 ifneq ($(strip $(INFO_FILES)),)
36 INFOINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(infodir) depth=$(depth) INSTALLATION_OUT_FILES="$(INFO_FILES)" -f $(stepdir)/Install_outfiles.sub.make $@
38 $(outdir)/$(package).info: check-texinfo-deps $(OUTTEXINFO_FILES)
39 $(MAKEINFO) -o $@ $(outdir)/topinfo.texinfo
41 localinstall: # $(INFO_FILES)
42 -$(INSTALL) -d $(infodir)