... and (un)install + correction on last push

This commit is contained in:
Mattias Andrée 2012-05-12 03:00:21 +02:00
parent 6b2661f123
commit e76318dd68

View file

@ -7,8 +7,9 @@ install:
install "ponysay" "$(DESTDIR)/usr/bin/ponysay" install "ponysay" "$(DESTDIR)/usr/bin/ponysay"
install -s "ponysaytruncater" "$(DESTDIR)/usr/bin/ponysaytruncater" install -s "ponysaytruncater" "$(DESTDIR)/usr/bin/ponysaytruncater"
ln -sf "ponysay" "$(DESTDIR)/usr/bin/ponythink" ln -sf "ponysay" "$(DESTDIR)/usr/bin/ponythink"
install "zsh-completion.zsh" "$(DESTDIR)/usr/share/zsh/site-functions/_ponysay" install "completion/zsh-completion.zsh" "$(DESTDIR)/usr/share/zsh/site-functions/_ponysay"
install "COPYING" "$(DESTDIR)/usr/share/licenses/ponysay/COPYING" install "COPYING" "$(DESTDIR)/usr/share/licenses/ponysay/COPYING"
install "completion/bash-completion.sh" "$(DESTDIR)/usr/share/bash-completion/completions/ponysay"
uninstall: uninstall:
rm -fr "$(DESTDIR)/usr/share/ponies" rm -fr "$(DESTDIR)/usr/share/ponies"
@ -18,3 +19,4 @@ uninstall:
unlink "$(DESTDIR)/usr/bin/ponythink" unlink "$(DESTDIR)/usr/bin/ponythink"
unlink "$(DESTDIR)/usr/share/zsh/site-functions/_ponysay" unlink "$(DESTDIR)/usr/share/zsh/site-functions/_ponysay"
unlink "$(DESTDIR)/usr/share/licenses/ponysay/COPYING" unlink "$(DESTDIR)/usr/share/licenses/ponysay/COPYING"
unlink "$(DESTDIR)/usr/share/bash-completion/completions/ponysay"