neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit ab610292014c938a8f4e4004e9365bfc6cf9cbd6
parent 6821d8ea4a64d15b8f284d1af01ab184ef1e76c3
Author: Lynn Lin <Lin_Lynn@emc.com>
Date:   Thu, 15 Jul 2010 14:38:06 +0800

Makefile: do not include dependency-file on `make clean`

When envoking clean target, make should not perform the dependency file
generation triggered by include.

Diffstat:
MMakefile | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -139,7 +139,9 @@ cgit: $(OBJECTS) libgit cgit.o: VERSION --include $(OBJECTS:.o=.d) +ifneq "$(MAKECMDGOALS)" "clean" + -include $(OBJECTS:.o=.d) +endif libgit: $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) NO_CURL=1 $(GIT_OPTIONS) libgit.a