about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorLars Hjemli2008-07-22 20:06:16 +0200
committerLars Hjemli2008-07-22 20:06:16 +0200
commit50989d3b471aeecba563cfb1dfbffeeecf6c83cb (patch)
treeca614f1c36bd0b35f096a0e50a323f22d12c9a50
parentMakefile: do not touch the git objects with `make clean` (diff)
downloadcgit-50989d3b471aeecba563cfb1dfbffeeecf6c83cb.tar.gz
cgit-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:
122clean: 122clean:
123 rm -f cgit VERSION *.o *.d 123 rm -f cgit VERSION *.o *.d
124 124
125distclean: clean
126 git clean -d -x
127 cd git && git clean -d -x
128
129emptycache:
130 rm -rf $(DESTDIR)$(CACHE_ROOT)/*
131
132get-git: 125get-git:
133 curl $(GIT_URL) | tar -xj && rm -rf git && mv git-$(GIT_VER) git 126 curl $(GIT_URL) | tar -xj && rm -rf git && mv git-$(GIT_VER) git