X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fuser%2FGNUmakefile;h=5a8db6f264e50b8d4e4d43f4b24c6ef095ffc2af;hb=3cd7af22819b8374310156db6c4ae8baf878715c;hp=6b7186af4beebaf159f9423fd5a19721005a81c7;hpb=ce9845392e4e22ae9c5f6ec1da914eb301f1892c;p=lilypond.git diff --git a/Documentation/user/GNUmakefile b/Documentation/user/GNUmakefile index 6b7186af4b..5a8db6f264 100644 --- a/Documentation/user/GNUmakefile +++ b/Documentation/user/GNUmakefile @@ -18,6 +18,8 @@ PS_FILES = $(DVI_FILES:.dvi=.ps) $(OUTDOC_FILES:.doc=.ps) $(OUTTEX_FILES:.tex=. PS_GZ_FILES= $(addsuffix .gz, $(PS_FILES)) +INFO_FILES = $(addprefix $(outdir)/, lilypond.info lilypond-internals.info) + STEPMAKE_TEMPLATES=tex texinfo documentation LOCALSTEPMAKE_TEMPLATES=lilypond mudela @@ -27,13 +29,16 @@ dvi: $(DVI_FILES) ps: $(PS_FILES) -# urg -default: +info: $(INFO_FILES) + +default: info + +local-WWW: $(HTML_FILES) $(datafiles) $(PS_GZ_FILES) backdoc-WWW + true -local-WWW: $(HTML_FILES) $(datafiles) $(PS_GZ_FILES) - $(PYTHON) $(step-bindir)/ls-latex.py --title 'User documentation' \ - $(DOC_FILES) $(TEX_FILES) $(TELY_FILES) \ - | sed "s!$(outdir)/!!g" > $(outdir)/index.html +# $(PYTHON) $(step-bindir)/ls-latex.py --title 'User documentation' \ +# $(DOC_FILES) $(TEX_FILES) $(TELY_FILES) \ +# | sed "s!$(outdir)/!!g" > $(outdir)/index.html $(outdir)/%.bib: %.bib ln -f $< $@ @@ -42,3 +47,14 @@ $(outdir)/%.bib: %.bib localclean: rm -f fonts.aux fonts.log feta*.tfm feta*.*pk + +backdoc-WWW: $(outdir)/lilypond-internals.html + +#ugh. lily/OUT/lilypond hardcoded. +# when cross-compiling, we don't have lilypond +$(outdir)/lilypond-internals.texi: + if [ -e $(depth)/$(builddir)/lily/out/lilypond ]; then \ + cd $(outdir) && ../$(depth)/$(builddir)/lily/out/lilypond ../$(src-depth)/ly/generate-documentation; \ + else \ + touch $@; \ + fi