aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorElis Axelsson <elis.axelsson@gmail.com>2012-07-19 20:54:44 +0200
committerElis Axelsson <elis.axelsson@gmail.com>2012-07-19 20:54:44 +0200
commitaf2cc12de9109c7fdb5234f3a06fd159f408591f (patch)
tree94632ea0b7c3b2e7c50b4cbbf0fcfec0b1034cac /Makefile
parent64a2dfa2d4d7279a9aca0eb65dabeb3fad6ee3a0 (diff)
downloadponysay-af2cc12de9109c7fdb5234f3a06fd159f408591f.tar.gz
ponysay-af2cc12de9109c7fdb5234f3a06fd159f408591f.tar.bz2
ponysay-af2cc12de9109c7fdb5234f3a06fd159f408591f.zip
Moved ponysaytruncater and ponysaylist.pl to /usr/lib/ponysay/truncater and /usr/lib/ponysay/list.pl
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 37883a6..c1ed92e 100644
--- a/Makefile
+++ b/Makefile
@@ -37,10 +37,12 @@ install: all
mkdir -p "$(DESTDIR)/usr/bin/"
install "ponysay" "$(DESTDIR)/usr/bin/ponysay"
- install -s "ponysaytruncater" "$(DESTDIR)/usr/bin/ponysaytruncater"
- install "ponysaylist.pl" "$(DESTDIR)/usr/bin/ponysaylist.pl"
ln -sf "ponysay" "$(DESTDIR)/usr/bin/ponythink"
+ mkdir -p "$(DESTDIR)/usr/lib/ponysay/"
+ install -s "ponysaytruncater" "$(DESTDIR)/usr/lib/ponysay/truncater"
+ install "ponysaylist.pl" "$(DESTDIR)/usr/lib/ponysay/list.pl"
+
mkdir -p "$(DESTDIR)/usr/share/bash-completion/completions/"
install "completion/bash-completion.sh" "$(DESTDIR)/usr/share/bash-completion/completions/ponysay"
install "completion/bash-completion-think.sh" "$(DESTDIR)/usr/share/bash-completion/completions/ponythink"
@@ -87,9 +89,9 @@ uninstall:
rm -fr "$(DESTDIR)/usr/share/ponysay/ponies"
rm -fr "$(DESTDIR)/usr/share/ponysay/ttyponies"
unlink "$(DESTDIR)/usr/bin/ponysay"
- unlink "$(DESTDIR)/usr/bin/ponysaylist.pl"
- unlink "$(DESTDIR)/usr/bin/ponysaytruncater"
unlink "$(DESTDIR)/usr/bin/ponythink"
+ unlink "$(DESTDIR)/usr/lib/ponysay/list.pl"
+ unlink "$(DESTDIR)/usr/lib/ponysay/truncater"
unlink "$(DESTDIR)/usr/share/licenses/ponysay/COPYING"
unlink "$(DESTDIR)/usr/share/bash-completion/completions/ponysay"
unlink "$(DESTDIR)/usr/share/bash-completion/completions/ponythink"