Merge github.com:Lukc/build.zsh

master
Luka Vandervelden 2016-04-23 01:30:31 +02:00
commit 19c7a2912e
1 changed files with 11 additions and 6 deletions

View File

@ -314,6 +314,10 @@ function main {
write
fi
if [[ "${installdir}" == "-" ]]; then
write "${target}.uninstall:"
write ""
else
if exists "${type[$target]}.uninstall"; then
${type[$target]}.uninstall
else
@ -322,6 +326,7 @@ function main {
write "\t${Q}rm -f '\$(DESTDIR)${installdir}/${target}'"
write
fi
fi
if exists "${type[$target]}.test"; then
${type[$target]}.test