Skip directories when installing library files; this avoids problems
when test/output is found (/usr/bin/install chokes on this; no idea
why install-sh doesn't).
diff --git a/Makefile.in b/Makefile.in
index 564dce2..1affa8a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -308,6 +308,7 @@
 				*.py[co]) ;; \
 				*~) ;; \
 				*) \
+					if test -d $$i; then continue; fi; \
 					if test -x $$i; then \
 					    echo $(INSTALL_PROGRAM) $$i $$b; \
 					    $(INSTALL_PROGRAM) $$i $$b; \