aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d83a46a..a1f961b 100644
--- a/Makefile
+++ b/Makefile
@@ -122,5 +122,12 @@ uninstall:
clean:
rm -f cgit VERSION *.o *.d
+distclean: clean
+ git clean -d -x
+ cd git && git clean -d -x
+
+emptycache:
+ rm -rf $(DESTDIR)$(CACHE_ROOT)/*
+
get-git:
curl $(GIT_URL) | tar -xj && rm -rf git && mv git-$(GIT_VER) git