summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 21e2eb3..c71e39c 100644
--- a/Makefile
+++ b/Makefile
@@ -3,4 +3,5 @@ CGIT_VERSION = 0.1-pre
INSTALL_BIN = /var/www/htdocs/cgit.cgi
INSTALL_CSS = /var/www/htdocs/cgit.css
+CACHE_ROOT = /var/cache/cgit
EXTLIBS = ../git/libgit.a ../git/xdiff/lib.a -lz -lcrypto
@@ -14,4 +15,5 @@ install: all
install cgit $(INSTALL_BIN)
install cgit.css $(INSTALL_CSS)
+ rm -rf $(CACHE_ROOT)/*
cgit: cgit.c cgit.h git.h $(OBJECTS)