Merge github.com:Lukc/build.zsh
commit
19c7a2912e
17
build.zsh.in
17
build.zsh.in
|
@ -314,13 +314,18 @@ function main {
|
|||
write
|
||||
fi
|
||||
|
||||
if exists "${type[$target]}.uninstall"; then
|
||||
${type[$target]}.uninstall
|
||||
else
|
||||
if [[ "${installdir}" == "-" ]]; then
|
||||
write "${target}.uninstall:"
|
||||
write "\t@echo '$(RM "${installdir}/${target}")'"
|
||||
write "\t${Q}rm -f '\$(DESTDIR)${installdir}/${target}'"
|
||||
write
|
||||
write ""
|
||||
else
|
||||
if exists "${type[$target]}.uninstall"; then
|
||||
${type[$target]}.uninstall
|
||||
else
|
||||
write "${target}.uninstall:"
|
||||
write "\t@echo '$(RM "${installdir}/${target}")'"
|
||||
write "\t${Q}rm -f '\$(DESTDIR)${installdir}/${target}'"
|
||||
write
|
||||
fi
|
||||
fi
|
||||
|
||||
if exists "${type[$target]}.test"; then
|
||||
|
|
Loading…
Reference in New Issue