summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4d2ede3..2a4d62a 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,5 @@ all: cgit
-install: all
+install: all clean-cache
install cgit $(INSTALL_BIN)
install cgit.css $(INSTALL_CSS)
- rm -rf $(CACHE_ROOT)/*
@@ -28 +27,4 @@ clean:
rm -f cgit *.o
+
+clean-cache:
+ rm -rf $(CACHE_ROOT)/*