[Python-checkins] r43247 - python/trunk/Makefile.pre.in

hyeshik.chang python-checkins at python.org
Thu Mar 23 13:04:37 CET 2006


Author: hyeshik.chang
Date: Thu Mar 23 13:04:37 2006
New Revision: 43247

Modified:
   python/trunk/Makefile.pre.in
Log:
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.


Modified: python/trunk/Makefile.pre.in
==============================================================================
--- python/trunk/Makefile.pre.in	(original)
+++ python/trunk/Makefile.pre.in	Thu Mar 23 13:04:37 2006
@@ -720,6 +720,9 @@
 		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 \


More information about the Python-checkins mailing list