From: John Mandereau Date: Thu, 5 Mar 2009 01:03:01 +0000 (+0100) Subject: Contributors' Guide: fix broken link to PDF X-Git-Tag: release/2.12.3-1~120 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f0b7b0e88e32fc2c9488203a9732630e9943041c;p=lilypond.git Contributors' Guide: fix broken link to PDF (cherry picked from commit 685fa73327753321089e52c7629e29c2699523c0) --- diff --git a/Documentation/devel/GNUmakefile b/Documentation/devel/GNUmakefile index dff3a9cb92..640afbac98 100644 --- a/Documentation/devel/GNUmakefile +++ b/Documentation/devel/GNUmakefile @@ -15,11 +15,21 @@ MASTER_TEXI_FILES = contrib-guide.texi PDF_FILES = $(MASTER_TEXI_FILES:%.texi=$(outdir)/%.pdf) HTML_FILES = $(MASTER_TEXI_FILES:%.texi=$(outdir)/%/index.html) \ $(MASTER_TEXI_FILES:%.texi=$(outdir)/%-big-page.html) +source-links = $(outdir)/source $(MASTER_TEXI_FILES:%.texi=$(outdir)/%/source) default: local-doc +$(outdir)/source: + @rm -f $(@) + ln -sf $(depth) $(@) + +$(outdir)/%/source: + @rm -f $(@) + mkdir -p $(dir $@) + ln -sf $(depth)/.. $(@) + local-WWW-1: $(PDF_FILES) -local-WWW-2: $(HTML_FILES) $(OUT_HTML_FILES) +local-WWW-2: $(HTML_FILES) $(OUT_HTML_FILES) $(source-links) $(PDF_FILES) $(HTML_FILES): $(ITEXI_FILES)