Fix config for browsing.
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 23 Jan 2010 03:28:56 +0000 (13:58 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 23 Jan 2010 03:28:56 +0000 (13:58 +1030)
Makefile-web
web/bzrbrowse/bzrbrowse.cgi

index 8d1f0c691d297c82782ae2a43ee9ddf41d4b7532..e6be54f4e0e50a123be4170171158bf3a8db4b7c 100644 (file)
@@ -8,6 +8,7 @@ WEB_SUBDIRS=$(WEBDIR)/tarballs $(WEBDIR)/junkcode $(WEBDIR)/tarballs/with-deps $
 JUNKDIRS=$(wildcard junkcode/*)
 JUNKPAGES=$(JUNKDIRS:%=$(WEBDIR)/%.html)
 JUNKBALLS=$(JUNKDIRS:%=$(WEBDIR)/%.tar.bz2)
+BZRBROWSE=$(WEBDIR)/bzrbrowse.cgi $(WEBDIR)/file.png $(WEBDIR)/folder.png
 
 upload: check webpages
        bzr push
@@ -53,8 +54,7 @@ $(WEBDIR)/Makefile-ccan: Makefile-ccan
 $(WEBDIR)/ccan.jpg: web/ccan.jpg
        cp $< $@
 
-BZRBROWSE=$(WEBDIR)/bzrbrowse.cgi $(WEBDIR)/file.png $(WEBDIR)/folder.png
-$(BZRBROWSE): %: web/bzrbrowse/%
+$(BZRBROWSE): $(WEBDIR)/%: web/bzrbrowse/%
        cp $< $@
 
 $(WEBDIR)/info/%.html: $(WEBDIR)/tarballs/%.tar.bz2 $(WEBDIR)/tarballs/with-deps/%.tar.bz2
index 334ce50c3635b34dd40cfc0b5d6181f7fc0f6ab3..3be2f216cdab083f08ec0b540819022f16901b7a 100755 (executable)
 
 # CHANGE THIS:
 config = {
-    'root': '/home/lukas/projects',
-    'base_url': '/~lukas/bzrbrowse.cgi',
-    'images_url': '/~lukas/bzrbrowse',
-    'branch_url': 'http://bzr.oxygene.sk',
+    'root': '/home/ccan/ccan',
+    'base_url': '/browse',
+    'images_url': '/browse',
+    'branch_url': 'http://ccan.ozlabs.org/repo',
 }
 
 import os, sys