commit | 55f316c3900613a172dbfece19e5cb487699a2cd | [log] [tgz] |
---|---|---|
author | Hye-Shik Chang <hyeshik@gmail.com> | Thu Mar 23 12:04:37 2006 +0000 |
committer | Hye-Shik Chang <hyeshik@gmail.com> | Thu Mar 23 12:04:37 2006 +0000 |
tree | 8f9dd378c221bace900bf82f2992e98772e58279 | |
parent | badc086543e13be82958b8162d3fc5e5b65f283a [diff] |
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 154f6b4..4772ff0 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in
@@ -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 \