X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fbibliography%2FGNUmakefile;h=4a7bab0111c2d95cbecf46a17422039dce875ece;hb=5072fc7df8f19ec8c788d45667f529d911d0427d;hp=2c193065bed937ef87bf80bc6949871ec57a87f9;hpb=8da6cef580cce3365b219f6aca429b434cb60fcf;p=lilypond.git diff --git a/Documentation/bibliography/GNUmakefile b/Documentation/bibliography/GNUmakefile index 2c193065be..4a7bab0111 100644 --- a/Documentation/bibliography/GNUmakefile +++ b/Documentation/bibliography/GNUmakefile @@ -3,14 +3,13 @@ depth=../.. OUT_BIB_FILES = $(addprefix $(outdir)/, $(BIB_FILES)) -BIB_FILES= $(wildcard *.bib) -EXTRA_DIST_FILES= $(BIB_FILES) +EXTRA_DIST_FILES= $(BIB_FILES) $(call src-wildcard,*.bst) +BIB_FILES= $(call src-wildcard,*.bib) STEPMAKE_TEMPLATES=tex documentation LOCALSTEPMAKE_TEMPLATES=lilypond ly -export BIBINPUTS:=$(shell pwd)//$(PATHSEP)$(BIBINPUTS) -include $(depth)/make/stepmake.make +include $(depth)/make/stepmake.make dvi: $(DVI_FILES) $(OUT_BIB_FILES) @@ -22,21 +21,13 @@ default: GENHTMLS = engraving colorado computer-notation OUTGENHTMLS = $(addprefix $(outdir)/, $(GENHTMLS:%=%.html)) -local-WWW: $(addprefix $(outdir)/, $(BIB_FILES:.bib=.html)) - $(PYTHON) $(step-bindir)/ls-latex.py --title 'References on Music Notation' \ - $(YO_FILES) $(OUTYO_FILES:.yo=.latex) $(BIB_FILES) $(DOC_FILES) $(TEX_FILES) \ - | sed "s!$(outdir)/!!g" > $(outdir)/index.html +local-WWW: $(addprefix $(outdir)/, $(BIB_FILES:.bib=.html) index.html) $(outdir)/%.bib: %.bib ln -f $< $@ -# we want footers even if website builds (or is built) partly - $(MAKE) footify - -# ignore result since bib2html is nonstandard. Errors would halt the RPM build.j $(outdir)/%.html: %.bib - -bib2html $< $@ - $(footify) $@ + BSTINPUTS=$(src-dir) $(PYTHON) $(buildscript-dir)/bib2html.py -o $@ $< -localclean: +local-clean: rm -f fonts.aux fonts.log feta*.tfm feta*.*pk