* Variable $installTargets to override the install target in

installPhase.

svn path=/nixpkgs/trunk/; revision=7490
This commit is contained in:
Eelco Dolstra 2006-12-27 17:26:43 +00:00
parent 7ca9054420
commit 81025a05df

View File

@ -635,8 +635,11 @@ installW() {
if test -z "$installCommand"; then
if test -z "$dontMakeInstall"; then
echo "install flags: $installFlags ${installFlagsArray[@]}"
make install $installFlags "${installFlagsArray[@]}" || fail
if test -z "$installTargets"; then
installTargets=install
fi
echo "install flags: $installTargets $installFlags ${installFlagsArray[@]}"
make $installTargets $installFlags "${installFlagsArray[@]}" || fail
fi
else
eval "$installCommand"