cgit

commit 50989d3b471aeecba563cfb1dfbffeeecf6c83cb

Author: Lars Hjemli <hjemli@gmail.com>

Makefile: remove the `distclean` and `emptycache` targets

The `distclean` was hardly useful while the `emptycache` was actively harmful.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>

 Makefile | 7 -------


diff --git a/Makefile b/Makefile
index a1f961b3a88a13e7727117864a167e9fb4bcd05c..d83a46a0ff30d13554659ba90bb476d290a268bc 100644
--- a/Makefile
+++ b/Makefile
@@ -122,12 +122,5 @@
 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