X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fessay%2FGNUmakefile;h=068109cdcfb59bd4f9fedd5a3ab145c4c827938a;hb=c0a47b91cd930053074d42363047a77b889e05f7;hp=c93c9e062454b89f9cba92aef976d59ec4ead1d2;hpb=05d401e1fb559da409f657fb3a8d279452bc418b;p=lilypond.git diff --git a/Documentation/essay/GNUmakefile b/Documentation/essay/GNUmakefile index c93c9e0624..068109cdcf 100644 --- a/Documentation/essay/GNUmakefile +++ b/Documentation/essay/GNUmakefile @@ -1,5 +1,40 @@ depth = ../.. -LOCALSTEPMAKE_TEMPLATES = ly +STEPMAKE_TEMPLATES=tex documentation +LOCALSTEPMAKE_TEMPLATES = lilypond ly + +OUT_BIB_FILES = $(addprefix $(outdir)/, $(BIB_FILES)) +EXTRA_DIST_FILES= $(BIB_FILES) $(call src-wildcard,*.bst) +BIB_FILES= $(call src-wildcard,*.bib) include $(depth)/make/stepmake.make + +# we no longer create bibliography files in this subdir, +# since it needs to be done in the main Documentation/ dir. +# all the below can _probably_ be removed, but I haven't +# examined it in detail. +# I think this is just going to wait until we switch to waf. -gp +dvi: $(DVI_FILES) $(OUT_BIB_FILES) + +ps: $(PS_FILES) + +default: + +GENHTMLS = engraving colorado computer-notation +OUTGENHTMLS = $(addprefix $(outdir)/, $(GENHTMLS:%=%.html)) + +ifeq ($(out),www) +# temporary build fix; we don't know yet what's happening +# to the literature index. -gp +# local-WWW-2: $(addprefix $(outdir)/, $(BIB_FILES:.bib=.html) lit-index.html) +endif + +$(outdir)/%.bib: %.bib + ln -f $< $@ + +$(outdir)/%.html: %.bib + BSTINPUTS=$(src-dir) $(buildscript-dir)/bib2html -o $@ $< + +local-clean: + rm -f fonts.aux fonts.log feta*.tfm feta*.*pk +