From: Hye-Shik Chang Date: Thu, 23 Mar 2006 12:04:37 +0000 (+0000) Subject: Skip to install files for empty directories; to name it, Lib/lib-old. X-Git-Tag: v2.5a0~126 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=55f316c3900613a172dbfece19e5cb487699a2cd;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 154f6b45d8d8..4772ff0981df 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 \