-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -13,8 +13,7 @@ CFLAGS += -Wall all: cgit -install: all +install: all clean-cache install cgit $(INSTALL_BIN) install cgit.css $(INSTALL_CSS) - rm -rf $(CACHE_ROOT)/* cgit: cgit.c cgit.h git.h $(OBJECTS) @@ -27,2 +26,5 @@ $(OBJECTS): cgit.h git.h clean: rm -f cgit *.o + +clean-cache: + rm -rf $(CACHE_ROOT)/* |