mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Skip to install files for empty directories; to name it, Lib/lib-old.
BSD make stops the build when it tries to expand wild cards on empty directories.
This commit is contained in:
parent
badc086543
commit
55f316c390
1 changed files with 3 additions and 0 deletions
|
@ -720,6 +720,9 @@ libinstall: $(BUILDPYTHON) $(srcdir)/Lib/$(PLATDIR)
|
|||
a=$(srcdir)/Lib/$$d; \
|
||||
if test ! -d $$a; then continue; else true; fi; \
|
||||
b=$(LIBDEST)/$$d; \
|
||||
if [ `ls $$a | wc -l` -lt 1 ]; then \
|
||||
continue; \
|
||||
fi; \
|
||||
for i in $$a/*; \
|
||||
do \
|
||||
case $$i in \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue