The scripts are available at http://repo.or.cz/w/mingw-xscripts.git
git-svn-id: https://s.snth.net/svn/neverball/trunk@2575
78b8d119-cf0a-0410-b17c-
f493084dd1d7
sh $<
install-dlls.sh:
- if ! sh scripts/gen-install-dlls.sh > $@; then \
- $(RM) $@; \
- exit 1; \
- fi
+ mingw-list-dlls --sh > $@
@echo --------------------------------------------------------
- @echo You can probably ignore any file-not-found errors above.
@echo Now edit $@ to your needs before restarting make.
@echo --------------------------------------------------------
@exit 1
+++ /dev/null
-#!/bin/sh
-
-if test -z "$MINGW_PREFIX"; then
- cat >&2 <<EOF
-MINGW_PREFIX not set. Set the MINGW_PREFIX environment variable to your
-MinGW path, such as /mingw, /usr/i586-mingw32msvc or ~/mingw.
-EOF
- exit 1
-fi
-
-if ! test -d "$MINGW_PREFIX"; then
- cat >&2 <<EOF
-MINGW_PREFIX not valid. Make sure the MINGW_PREFIX environment variable
-is set to a valid location.
-EOF
- exit 1
-fi
-
-cat <<EOF
-#!/bin/sh
-# This script was generated automatically.
-# Edit the list below to suit your needs.
-
-install \\
-$(ls "$MINGW_PREFIX"/{bin,lib}/*.dll | sed -e 's/^/ /' -e 's/$/ \\/')
- .
-EOF
-