diff options
author | Hye-Shik Chang <hyeshik@gmail.com> | 2006-03-23 12:04:37 (GMT) |
---|---|---|
committer | Hye-Shik Chang <hyeshik@gmail.com> | 2006-03-23 12:04:37 (GMT) |
commit | 55f316c3900613a172dbfece19e5cb487699a2cd (patch) | |
tree | 8f9dd378c221bace900bf82f2992e98772e58279 /Makefile.pre.in | |
parent | badc086543e13be82958b8162d3fc5e5b65f283a (diff) | |
download | cpython-55f316c3900613a172dbfece19e5cb487699a2cd.zip cpython-55f316c3900613a172dbfece19e5cb487699a2cd.tar.gz cpython-55f316c3900613a172dbfece19e5cb487699a2cd.tar.bz2 |
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.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 154f6b4..4772ff0 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -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 \ |