| -rw-r--r-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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)/* |