install[i]=- will work for .uninstall rules.
This commit is contained in:
parent
d0a163dcec
commit
0274ac704e
17
build.zsh.in
17
build.zsh.in
@ -314,13 +314,18 @@ function main {
|
|||||||
write
|
write
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if exists "${type[$target]}.uninstall"; then
|
if [[ "${installdir}" == "-" ]]; then
|
||||||
${type[$target]}.uninstall
|
|
||||||
else
|
|
||||||
write "${target}.uninstall:"
|
write "${target}.uninstall:"
|
||||||
write "\t@echo '$(RM "${installdir}/${target}")'"
|
write ""
|
||||||
write "\t${Q}rm -f '\$(DESTDIR)${installdir}/${target}'"
|
else
|
||||||
write
|
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
|
fi
|
||||||
|
|
||||||
if exists "${type[$target]}.test"; then
|
if exists "${type[$target]}.test"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user