From: Graham Percival Date: Wed, 23 Dec 2009 16:44:06 +0000 (+0000) Subject: Web build: more prep for online website. X-Git-Tag: release/2.13.10-1~91^2~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2f66656ec33a87cd9ca3dce5df229e721243b47b;p=lilypond.git Web build: more prep for online website. --- diff --git a/GNUmakefile.in b/GNUmakefile.in index 2860088095..ad94e6a1f3 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -124,7 +124,6 @@ WWW-post: find $(outdir) -name '*-root' | xargs rm -rf $(buildscript-dir)/www_post $(PACKAGE_NAME) $(TOPLEVEL_VERSION) $(outdir) "$(WEB_TARGETS)" find $(outdir)/offline-root -type l -delete - cd $(outdir)/offline-root/Documentation && ln -sf ./ v$(MAJOR_VERSION).$(MINOR_VERSION) endif # ifeq ($(out),www) # For those who cannot for the life in them remember to type diff --git a/scripts/build/create-version-itexi.py b/scripts/build/create-version-itexi.py index 228ade2c97..3ff82f2a9c 100644 --- a/scripts/build/create-version-itexi.py +++ b/scripts/build/create-version-itexi.py @@ -5,13 +5,15 @@ import sys import os import glob -## these links are relative from /~graham/web/ -#WEB_DOCLINK_STABLE = "../../doc/v2.12/Documentation/user/lilypond-" -#WEB_DOCLINK_DEVEL = "../../doc/v2.13/Documentation/" - +### just like depth in our GNUmakefiles +# these links are relative from /~graham/web/ +depth = "../../" # these links are relative from the v2.13 docs -WEB_DOCLINK_STABLE = "../../../v2.12/Documentation/user/lilypond-" -WEB_DOCLINK_DEVEL = "../../../v2.13/Documentation/" +#depth = "../../../../" + +# FIXME: remove the user/lilypond- when 2.14 becomes stable +WEB_DOCLINK_STABLE = depth + "doc/v2.12/Documentation/user/lilypond-" +WEB_DOCLINK_DEVEL = depth + "doc/v2.13/Documentation/"