]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/bibliography/GNUmakefile
*** empty log message ***
[lilypond.git] / Documentation / bibliography / GNUmakefile
index 78e0c3c7306f2a5d9cd0a9839bfa79ec18b10a80..a9bbdc383d995c0a898029758b30ce1267500aaf 100644 (file)
@@ -4,13 +4,12 @@ depth=../..
 
 OUT_BIB_FILES = $(addprefix $(outdir)/, $(BIB_FILES))
 BIB_FILES= $(wildcard *.bib)
-EXTRA_DIST_FILES= $(BIB_FILES)
+EXTRA_DIST_FILES= $(BIB_FILES) $(wildcard *.bst)
 
 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,19 +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
 
 $(outdir)/%.html: %.bib
-       -$(BIBTEX2HTML) $(BIBTEX2HTML_FLAGS)
-       $(footify) $@
+       $(PYTHON) $(depth)/buildscripts/bib2html.py -o $@ $<
 
 local-clean:
        rm -f fonts.aux fonts.log feta*.tfm feta*.*pk