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