From: Jan Nieuwenhuizen Date: Thu, 9 Nov 2000 10:55:46 +0000 (+0100) Subject: patch::: 1.3.105.jcn1 X-Git-Tag: release/1.3.106~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=f213448895417b8259c3f178d13efcfd5401f1e1;p=lilypond.git patch::: 1.3.105.jcn1 1.3.105.jcn1 ============ * Makeinfo html documentation generation fixes. 1.3.104.jcn1 --- diff --git a/CHANGES b/CHANGES index c72d0969f5..492d53fa96 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,9 @@ -1.3.104.jcn3 +1.3.105.jcn1 +============ + +* Makeinfo html documentation generation fixes. + +1.3.104.jcn1 ============ * Bit of temporary makefile hacking to stay in sync with makeinfo patch. diff --git a/Documentation/header.html.in b/Documentation/header.html.in index 2fa27d012a..6ad66e9fce 100644 --- a/Documentation/header.html.in +++ b/Documentation/header.html.in @@ -50,7 +50,7 @@ which substitutes some @AT_VARIABLES@ as well. Change Log
FAQ
- User manual
+ User manual
Features
To do

diff --git a/Documentation/index.texi b/Documentation/index.texi index 0bc1a04159..bdc4f52267 100644 --- a/Documentation/index.texi +++ b/Documentation/index.texi @@ -20,9 +20,9 @@ @unnumberedsubsec Manuals @itemize @bullet -@item @uref{../user/out-www/lilypond.html,LilyPond reference manual} +@item @uref{../user/out-www/lilypond/lilypond.html,LilyPond reference manual} also available in @uref{../user/out-www/lilypond.ps.gz,Postscript} -@item LilyPond @uref{../user/out-www/lilypond-internals.html,internals} +@item LilyPond @uref{../user/out-www/lilypond-internals/lilypond-internals.html,internals} @item @uref{../user/out-www/glossary.html,A glossary of musical terms}, includes translations. Also available in @uref{../user/out-www/glossary.ps.gz,Postscript}) @item @uref{../user/out-www/mudela-book.html,mudela-book}, a tool for diff --git a/Documentation/user/GNUmakefile b/Documentation/user/GNUmakefile index 70af27845c..feafeb8fcd 100644 --- a/Documentation/user/GNUmakefile +++ b/Documentation/user/GNUmakefile @@ -33,16 +33,14 @@ info: $(INFO_FILES) default: -local-WWW: $(HTML_FILES) $(datafiles) $(PS_GZ_FILES) backdoc-WWW - $(SHELL) $(buildscript-dir)/install-info-html.sh $(outdir) lilypond lilypond-internals +DEEP_HTML_FILES = $(outdir)/lilypond/lilypond.html $(outdir)/lilypond-internals/lilypond-internals.html + +local-WWW: $(HTML_FILES) $(datafiles) $(PS_GZ_FILES) $(DEEP_HTML_FILES) + $(SHELL) $(buildscript-dir)/install-info-html.sh --dir=$(outdir) lilypond lilypond-internals $(MAKE) footify ln -f $(outdir)/*.png $(outdir)/lilypond $(MAKE) deep-footify -deep-footify: - $(PYTHON) $(step-bindir)/add-html-footer.py --index=../../$(depth)/ --name $(PACKAGE_NAME) --version $(TOPLEVEL_VERSION) --header=$(depth)/Documentation/header.html.in --footer $(depth)/Documentation/footer.html.in $(sort $(wildcard $(outdir)/*/*.html)) - - # $(PYTHON) $(step-bindir)/ls-latex.py --title 'User documentation' \ # $(DOC_FILES) $(TEX_FILES) $(TELY_FILES) \ # | sed "s!$(outdir)/!!g" > $(outdir)/index.html @@ -55,8 +53,8 @@ $(outdir)/%.bib: %.bib localclean: rm -f fonts.aux fonts.log feta*.tfm feta*.*pk -backdoc-WWW: $(outdir)/lilypond-internals.html - $(MAKE) footify +backdoc-WWW: $(outdir)/lilypond-internals/lilypond-internals.html + $(SHELL) $(buildscript-dir)/install-info-html.sh --dir=$(outdir) lilypond lilypond-internals #ugh. lily/OUT/lilypond hardcoded. # when cross-compiling, we don't have lilypond @@ -66,3 +64,19 @@ $(outdir)/lilypond-internals.texi: else \ touch $@; \ fi + +# Generic rule not possible? +# $(outdir)/%/%.html: $(outdir)/%.texi + +$(outdir)/lilypond/lilypond.html: $(outdir)/lilypond.texi + -$(MAKEINFO) --force --output=$@ --html $< +# we want footers even if website builds (or is built) partly + $(deep-footify) $(sort $(wildcard $(outdir)/$(*F)/*.html)) + + +$(outdir)/lilypond-internals/lilypond-internals.html: $(outdir)/lilypond-internals.texi + -$(MAKEINFO) --force --output=$@ --html $< +# we want footers even if website builds (or is built) partly + $(deep-footify) $(sort $(wildcard $(outdir)/$(*F)/*.html)) + + diff --git a/VERSION b/VERSION index 2e7b9bcdf6..d68788f3f4 100644 --- a/VERSION +++ b/VERSION @@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond MAJOR_VERSION=1 MINOR_VERSION=3 PATCH_LEVEL=105 -MY_PATCH_LEVEL= +MY_PATCH_LEVEL=jcn1 # use the above to send patches: MY_PATCH_LEVEL is always empty for a # released version. diff --git a/buildscripts/install-info-html.sh b/buildscripts/install-info-html.sh index ba86329fb9..a21e9b7d8f 100644 --- a/buildscripts/install-info-html.sh +++ b/buildscripts/install-info-html.sh @@ -1,27 +1,156 @@ #!@BASH@ -dir=$1 -index=$dir/index.html -shift +name=install-info-html +version=1.0 -rm -f $index -cat > $index <> $index_file < +Info documentation index -You want to be here +

Info documentation index

+This is the directory file \`index.html' a.k.a. \`DIR', which contains the +topmost node of the HTML Info hierarchy. +

+This is all very much Work in Progress (WiP).

    EOF -for i in $*; do -cat >> $index < $i -EOF -done +#list +for i in $document_dirs; do + echo "
  • $i" +done >> $index_file -cat >> $index <> $index_file < EOF - +echo \ No newline at end of file diff --git a/stepmake/stepmake/documentation-targets.make b/stepmake/stepmake/documentation-targets.make index 5f43a858ba..478bffd71d 100644 --- a/stepmake/stepmake/documentation-targets.make +++ b/stepmake/stepmake/documentation-targets.make @@ -10,6 +10,9 @@ local-web: footify: $(footify) $(sort $(wildcard $(outdir)/*.html out/*.html out-www/*.html)) +deep-footify: + $(deep-footify) $(sort $(wildcard $(outdir)/*/*.html)) + INFO_INSTALL_FILES = $(wildcard $(addsuffix *, $(INFO_FILES))) INFOINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(infodir) depth=$(depth) INSTALLATION_OUT_FILES="$(INFO_INSTALL_FILES)" -f $(stepdir)/install-out.sub.make diff --git a/stepmake/stepmake/documentation-vars.make b/stepmake/stepmake/documentation-vars.make index bbed23c068..a4efa4eb59 100644 --- a/stepmake/stepmake/documentation-vars.make +++ b/stepmake/stepmake/documentation-vars.make @@ -4,6 +4,7 @@ at-dir = $(doc-dir)/ at-ext = .in footify=$(PYTHON) $(step-bindir)/add-html-footer.py --index=../$(depth)/ --name $(PACKAGE_NAME) --version $(TOPLEVEL_VERSION) --header=$(depth)/Documentation/header.html.in --footer $(depth)/Documentation/footer.html.in +deep-footify=$(PYTHON) $(step-bindir)/add-html-footer.py --index=../../$(depth)/ --name $(PACKAGE_NAME) --version $(TOPLEVEL_VERSION) --header=$(depth)/Documentation/header.html.in --footer $(depth)/Documentation/footer.html.in footify-all-command=$(footify) `$(FIND) . -name '*.html' -print` diff --git a/stepmake/stepmake/texinfo-rules.make b/stepmake/stepmake/texinfo-rules.make index b4a7e41117..2a2dc8d101 100644 --- a/stepmake/stepmake/texinfo-rules.make +++ b/stepmake/stepmake/texinfo-rules.make @@ -5,11 +5,17 @@ $(outdir)/%.info: $(outdir)/%.texi -$(MAKEINFO) --force --output=$@ $< -$(outdir)/%.html: $(outdir)/%.texi - -$(MAKEINFO) --force --output=$@ --html $< +$(outdir)/%.html: $(outdir)/%.texi + -$(MAKEINFO) --force --output=$@ --html --no-split $< # we want footers even if website builds (or is built) partly $(footify) $@ +# Generic rule not possible? +$(outdir)/%/%.html: $(outdir)/%.texi + -$(MAKEINFO) --force --output=$@ --html $< +# we want footers even if website builds (or is built) partly + $(deep-footify) $(sort $(wildcard $(outdir)/$(*F)/*.html)) + $(outdir)/%.dvi: $(outdir)/%.texi # --clean only in >= 3.12s # cd $(outdir); texi2dvi --clean ../$<