changeset 2997:b1d0ee91a049

Online/offline doc build update.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Sun, 24 Dec 2006 13:07:31 +0100
parents 2cf9cf890213
children 2a6a1fe012d6
files GNUmakefile lilypondorg.py
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/GNUmakefile	Sat Dec 23 21:01:29 2006 +0100
+++ b/GNUmakefile	Sun Dec 24 13:07:31 2006 +0100
@@ -337,10 +337,14 @@
 	    && $(DOC_LIMITS) \
 	    && $(DOC_RELOCATION) \
 		make -C $(NATIVE_LILY_BUILD) \
-	    DOCUMENTATION=yes CPU_COUNT=$(LILYPOND_WEB_CPU_COUNT) web
+	    DOCUMENTATION=yes \
+	    WEB_TARGETS="offline online" \
+	    CPU_COUNT=$(LILYPOND_WEB_CPU_COUNT) web
 	$(if $(DOC_BUILDNUMBER),true,false)  ## check if we have a build number
-	tar --exclude '*.signature' -C $(NATIVE_LILY_BUILD)/out-www/web-root/ \
+	tar --exclude '*.signature' -C $(NATIVE_LILY_BUILD)/out-www/offline-root \
 	    -cjf $(CWD)/uploads/lilypond-$(DIST_VERSION)-$(DOC_BUILDNUMBER).documentation.tar.bz2 .
+	tar --exclude '*.signature' -C $(NATIVE_LILY_BUILD)/out-www/online-root \
+	    -cjf $(CWD)/uploads/lilypond-$(DIST_VERSION)-$(DOC_BUILDNUMBER).webdoc.tar.bz2 .
 
 unlocked-info-man-build:
 	unset LILYPONDPREFIX \
--- a/lilypondorg.py	Sat Dec 23 21:01:29 2006 +0100
+++ b/lilypondorg.py	Sun Dec 24 13:07:31 2006 +0100
@@ -94,7 +94,7 @@
     test_cmd = r'''python %(cwd)s/test-lily/rsync-lily-doc.py \
   --upload %(host_doc_spec)s \
   --version-file %(lilybuild)s/out/VERSION \
-  %(lilybuild)s/out-www/web-root/''' % d
+  %(lilybuild)s/out-www/online-root/''' % d
     
     cmds.append (test_cmd)