From: simonmar Date: Fri, 20 Sep 2002 13:08:42 +0000 (+0000) Subject: [project @ 2002-09-20 13:08:42 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~1652 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=7b556b76b3cb427dc4236e6f4a12f3ffc48c6d6a [project @ 2002-09-20 13:08:42 by simonmar] Fix the install-datas target when $(INSTALL) is ./install-sh --- diff --git a/distrib/Makefile-bin.in b/distrib/Makefile-bin.in index 431ed1f..4372ea9 100644 --- a/distrib/Makefile-bin.in +++ b/distrib/Makefile-bin.in @@ -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..."