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
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/"