author | Lynn Lin <Lin_Lynn@emc.com> | 2010-07-15 06:38:06 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-07-22 21:32:06 (UTC) |
commit | ab610292014c938a8f4e4004e9365bfc6cf9cbd6 (patch) (side-by-side diff) | |
tree | 90fdeda7abec710e7516612828415bfbca444ffa /Makefile | |
parent | 6821d8ea4a64d15b8f284d1af01ab184ef1e76c3 (diff) | |
download | cgit-ab610292014c938a8f4e4004e9365bfc6cf9cbd6.zip cgit-ab610292014c938a8f4e4004e9365bfc6cf9cbd6.tar.gz cgit-ab610292014c938a8f4e4004e9365bfc6cf9cbd6.tar.bz2 |
Makefile: do not include dependency-file on `make clean`
When envoking clean target, make should not perform the dependency file
generation triggered by include.
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |