about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-07-22 20:06:16 +0200
committerLars Hjemli <hjemli@gmail.com>2008-07-22 20:06:16 +0200
commit50989d3b471aeecba563cfb1dfbffeeecf6c83cb (patch)
treeca614f1c36bd0b35f096a0e50a323f22d12c9a50
parentMakefile: do not touch the git objects with `make clean` (diff)
downloadcgit-pink-50989d3b471aeecba563cfb1dfbffeeecf6c83cb.tar.gz
cgit-pink-50989d3b471aeecba563cfb1dfbffeeecf6c83cb.zip
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>
-rw-r--r--Makefile7
1 files changed, 0 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index a1f961b..d83a46a 100644
--- a/Makefile
+++ b/Makefile
@@ -122,12 +122,5 @@ 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