]> git.donarmstrong.com Git - lilypond.git/commitdiff
Web build: more prep for online website.
authorGraham Percival <graham@percival-music.ca>
Wed, 23 Dec 2009 16:44:06 +0000 (16:44 +0000)
committerGraham Percival <graham@percival-music.ca>
Wed, 23 Dec 2009 18:52:28 +0000 (18:52 +0000)
GNUmakefile.in
scripts/build/create-version-itexi.py

index 2860088095b5bf9b6255fff634717da4c432c8db..ad94e6a1f30eb8a96ccbc2c8966e565a27506bd4 100644 (file)
@@ -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
index 228ade2c9721613d2d890f9479c10c59c5249bfd..3ff82f2a9c648dfa08596052d42c17ea4147d24a 100644 (file)
@@ -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/"