]> git.cameronkatri.com Git - cgit.git/commitdiff
Makefile: remove the `distclean` and `emptycache` targets
authorLars Hjemli <hjemli@gmail.com>
Tue, 22 Jul 2008 18:06:16 +0000 (20:06 +0200)
committerLars Hjemli <hjemli@gmail.com>
Tue, 22 Jul 2008 18:06:16 +0000 (20:06 +0200)
The `distclean` was hardly useful while the `emptycache` was actively harmful.

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

index a1f961b3a88a13e7727117864a167e9fb4bcd05c..d83a46a0ff30d13554659ba90bb476d290a268bc 100644 (file)
--- 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