]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/documentation-targets.make
patch::: 1.2.8.jcn2
[lilypond.git] / stepmake / stepmake / documentation-targets.make
index 58c668d95f97afac2c242d34d3022823e955006a..fc2d648a1f347407ace210535bbb66c28a64ce04 100644 (file)
@@ -3,34 +3,24 @@ default:
 
 do-doc: $(OUTTXT_FILES) 
 
-# ugh. FIXME
-ifeq ($(strip $(README_TOP_FILES)),)
-readme-top_FILES-html:
-readme-top_FILES-txt:
-else
-
-readme-top_FILES-txt:
-       $(foreach i, $(README_TOP_FILES), \
-         cp $(depth)/$(i) $(outdir)/$(i).txt && ) true
-       
-readme-top_FILES-html:
-       $(foreach i, $(README_TOP_FILES), \
-         $(SHELL) $(step-bindir)/text2html.sh $(outdir)/$(i).txt $(outdir)/$(i).html && \
-         $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=$(depth)/../index.html $(outdir)/$(i).html && ) true
-endif
 
-local-WWW: readme-top_FILES-txt readme-top_FILES-html $(OUTHTML_FILES) $(OUTREADME_HTML_FILES) 
+local-WWW: $(OUTHTML_FILES)
        echo $^ > $(depth)/wwwlist
 
 doc: do-doc
 
+
+footify:
+       $(footify) $(sort $(wildcard $(outdir)/*.html out/*.html out-www/*.html))
+
 # what to do here?
-ifneq ($(strip $(INFO_FILES)),)
+ifeq (a,b) 
+
+$(outdir)/$(package).info: $(outdir)/topinfo.texinfo $(OUTTEXINFO_FILES)
+       $(MAKEINFO) --force -o $@ $(outdir)/topinfo.texinfo
 
-INFOINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(infodir) depth=$(depth) INSTALLATION_OUT_FILES="$(INFO_FILES)" -f $(stepdir)/install-outfiles.sub.make $@
 
-$(outdir)/$(package).info: check-texinfo-deps $(OUTTEXINFO_FILES)
-       $(MAKEINFO) -o $@ $(outdir)/topinfo.texinfo
+INFOINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(infodir) depth=$(depth) INSTALLATION_OUT_FILES="$(INFO_FILES)" -f $(stepdir)/install-out.sub.make $@
 
 localinstall: # $(INFO_FILES)
        -$(INSTALL) -d $(infodir)