aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2a4d62a..4d2ede3 100644
--- a/Makefile
+++ b/Makefile
@@ -12,9 +12,10 @@ CFLAGS += -Wall
all: cgit
-install: all clean-cache
+install: all
install cgit $(INSTALL_BIN)
install cgit.css $(INSTALL_CSS)
+ rm -rf $(CACHE_ROOT)/*
cgit: cgit.c cgit.h git.h $(OBJECTS)
$(CC) $(CFLAGS) -DCGIT_VERSION='"$(CGIT_VERSION)"' cgit.c -o cgit \
@@ -25,6 +26,3 @@ $(OBJECTS): cgit.h git.h
.PHONY: clean
clean:
rm -f cgit *.o
-
-clean-cache:
- rm -rf $(CACHE_ROOT)/*