-cp -f $(outdir)/lilypond-internals/index.html $@
$(deep-footify) $(shell find $(outdir)/$(*F)/*.html)
-$(outdir)/features/features.html: $(outdir)/features.texi
- -$(MAKEINFO) --force --output=$@ --html $<
- -cp -f $(outdir)/*.png $(outdir)/features
- -cp -f $(outdir)/features/index.html $@
- $(deep-footify) $(shell find $(outdir)/$(*F)/*.html)
-
ifneq ($(SPLITTING_MAKEINFO),)
-DEEP_HTML_FILES = $(outdir)/lilypond/lilypond.html $(outdir)/lilypond-internals/lilypond-internals.html $(outdir)/features/features.html
+DEEP_HTML_FILES = $(outdir)/lilypond/lilypond.html $(outdir)/lilypond-internals/lilypond-internals.html
else
DEEP_HTML_FILES = $(outdir)/lilypond.html $(outdir)/lilypond-internals.html
+local-WWW: deep-symlinks
+
+
+
+# Links referred to by Documentation index
+LILYPOND_LINKS=Reference-Manual.html Features.html Ly2dvi.html Midi2ly.html
+
+deep-symlinks:
+ cd $(outdir) && rm -f lilypond && ln -s . lilypond
+ cd $(outdir) && rm -f lilypond-internals && ln -s . lilypond-internals
+ cd $(outdir) && $(foreach i, $(LILYPOND_LINKS),\
+ rm -f $(i) && ln -s $(i) lilypond.html &&) true
endif
local-WWW: $(HTML_FILES) $(datafiles) $(PS_GZ_FILES) $(DEEP_HTML_FILES)
- $(SHELL) $(buildscript-dir)/install-info-html.sh --dir=$(outdir) lilypond lilypond-internals features
+ $(SHELL) $(buildscript-dir)/install-info-html.sh --dir=$(outdir) lilypond lilypond-internals
$(MAKE) footify
$(MAKE) deep-footify
localclean:
rm -f fonts.aux fonts.log feta*.tfm feta*.*pk
- rm -rf $(outdir)/lilypond $(outdir)/lilypond-internals $(outdir)/features
+ rm -rf $(outdir)/lilypond $(outdir)/lilypond-internals
backdoc-WWW: $(outdir)/lilypond-internals/lilypond-internals.html
$(SHELL) $(buildscript-dir)/install-info-html.sh --dir=$(outdir) lilypond lilypond-internals