aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-24 05:16:17 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-02 17:14:42 -0700
commit523bbaa4580a103b0994b5e3c71efcb1a8c6a7db (patch)
tree5dd17be82b4805a2674da5adab89be15b7bb6922 /Makefile
parent5e6ab8607e4ae53c0abb5b3027904f1e3f539969 (diff)
downloadgit-523bbaa4580a103b0994b5e3c71efcb1a8c6a7db.tar.gz
git-523bbaa4580a103b0994b5e3c71efcb1a8c6a7db.tar.xz
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 <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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