mirror of
https://github.com/git/git.git
synced 2024-11-20 14:04:13 +01:00
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>
This commit is contained in:
parent
5e6ab8607e
commit
523bbaa458
2
Makefile
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user