[project @ 2002-09-20 13:08:42 by simonmar]
authorsimonmar <unknown>
Fri, 20 Sep 2002 13:08:42 +0000 (13:08 +0000)
committersimonmar <unknown>
Fri, 20 Sep 2002 13:08:42 +0000 (13:08 +0000)
Fix the install-datas target when $(INSTALL) is ./install-sh

distrib/Makefile-bin.in

index 431ed1f..4372ea9 100644 (file)
@@ -237,7 +237,9 @@ install-libs:
        (cd lib/$(platform); find . -type f -exec sh -c '$(CP) $$0 $(libdir)/$$0' {} \; )
 
 install-datas:
-       (cd share; find . -type f -exec sh -c '$(INSTALL_DATA) $$0 $(datadir)/$$0' {} \; )
+       for i in `(cd share; find . -type f )`; do \
+          $(INSTALL_DATA) share/$$i $(datadir)/$$i; \
+       done
 
 show-install-setup:
        @echo "Install setup..."