Makefile: don't run "rm" without any files
authorMatt Kraai <matt.kraai@amo.abbott.com>
Wed, 13 Feb 2013 15:57:48 +0000 (07:57 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Feb 2013 20:30:43 +0000 (12:30 -0800)
commit61564ca5bf29bb8039b865514a7593fc7b6c5440
treed891023d776ba32c1dae7f57cf5681c3449bb127
parent5bf72ed2e7ef82d5ef7a35c978dc72576fdb0efc
Makefile: don't run "rm" without any files

When COMPUTE_HEADER_DEPENDENCIES is set to "auto" and the compiler
does not support it, $(dep_dirs) becomes empty.  "make clean" runs
"rm -rf $(dep_dirs)", which can fail in such a case.

Signed-off-by: Matt Kraai <matt.kraai@amo.abbott.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile