From: Junio C Hamano Date: Sat, 24 Jun 2006 12:16:17 +0000 (-0700) Subject: perl: fix make clean X-Git-Tag: v1.4.3-rc1~2^2~40 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=523bbaa4580a103b0994b5e3c71efcb1a8c6a7db;p=git.git perl: fix make clean When perl/Makefile is stale with respect to perl/Makefile.PL, it prevents "make clean" from completing which is quite irritating. Fix it by calling subdirectory make clean twice as needed. Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index aa0618ed8..a76526aa6 100644 --- a/Makefile +++ b/Makefile @@ -744,7 +744,7 @@ clean: rm -f $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz rm -f $(htmldocs).tar.gz $(manpages).tar.gz $(MAKE) -C Documentation/ clean - [ ! -e perl/Makefile ] || $(MAKE) -C perl/ clean + [ ! -e perl/Makefile ] || $(MAKE) -C perl/ clean || $(MAKE) -C perl/ clean $(MAKE) -C templates/ clean $(MAKE) -C t/ clean rm -f GIT-VERSION-FILE GIT-CFLAGS