Commit f0686bf0 authored by Rusty Russell's avatar Rusty Russell

Fix config for browsing.

parent f849631e
......@@ -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
......
......@@ -19,10 +19,10 @@
# 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment