]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/Documentation.shared.make
release: 1.0.2
[lilypond.git] / stepmake / stepmake / Documentation.shared.make
1 # stepmake/Documentation.shared.make
2 # urg: stuff shared between yodl/lily/stepmake
3
4 # could/should do this for bin/Makefile make/Makefile too
5
6 ### below here is shared between lily/yodl/Documentation and topdocs...
7
8 AT_FILES = $(BLURBS) # 
9 at-dir = $(doc-dir)/
10 at-ext = .in
11
12 include $(stepdir)/Documentation.vars.make
13 include $(stepdir)/Documentation_rules.make
14
15 do-doc: $(OUTTXT_FILES) 
16
17 # ugh. FIXME
18 ifeq ($(strip $(README_TOP_FILES)),)
19 readme-top_FILES-html:
20 else
21
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; \
26         done
27 endif
28
29 local-WWW:  readme-top_FILES-html $(OUTHTML_FILES) $(OUTREADME_HTML_FILES) 
30
31 doc: do-doc
32
33 # what to do here?
34 ifneq ($(strip $(INFO_FILES)),)
35
36 INFOINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(infodir) depth=$(depth) INSTALLATION_OUT_FILES="$(INFO_FILES)" -f $(stepdir)/Install_outfiles.sub.make $@
37
38 $(outdir)/$(package).info: check-texinfo-deps $(OUTTEXINFO_FILES)
39         $(MAKEINFO) -o $@ $(outdir)/topinfo.texinfo
40
41 localinstall: # $(INFO_FILES)
42         -$(INSTALL) -d $(infodir)
43         $(INFOINSTALL)
44 localuninstall:
45         $(INFOINSTALL)
46
47 endif
48