aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-07-05 09:26:03 +0200
committerMattias Andrée <maandree@operamail.com>2012-07-05 09:26:03 +0200
commit241ace5d51eec2e0c0d9a7c728940e09b9ebd83f (patch)
tree6444312fa87d7bfd0a74f500be774aba5ed46a31 /Makefile
parent2cc95ba021f4f295d974f51f5a4349aa370f3317 (diff)
parent6eff50c84ac3da6723ff0b50841082f15b927d78 (diff)
downloadponysay-241ace5d51eec2e0c0d9a7c728940e09b9ebd83f.tar.gz
ponysay-241ace5d51eec2e0c0d9a7c728940e09b9ebd83f.tar.bz2
ponysay-241ace5d51eec2e0c0d9a7c728940e09b9ebd83f.zip
Merge branch 'master' of github.com:erkin/ponysay
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 194fa29..e9c3279 100644
--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,11 @@ ponysaytruncater:
gcc -o "ponysaytruncater" "ponysaytruncater.c"
install: all
- mkdir -p "$(DESTDIR)/usr/share/ponies"
- mkdir -p "$(DESTDIR)/usr/share/ttyponies"
- cp ponies/*.pony "$(DESTDIR)/usr/share/ponies/"
- cp ttyponies/*.pony "$(DESTDIR)/usr/share/ttyponies/"
+ mkdir -p "$(DESTDIR)/usr/share/ponysay/"
+ mkdir -p "$(DESTDIR)/usr/share/ponysay/ponies"
+ mkdir -p "$(DESTDIR)/usr/share/ponysay/ttyponies"
+ cp ponies/*.pony "$(DESTDIR)/usr/share/ponysay/ponies/"
+ cp ttyponies/*.pony "$(DESTDIR)/usr/share/ponysay/ttyponies/"
mkdir -p "$(DESTDIR)/usr/bin/"
install "ponysay" "$(DESTDIR)/usr/bin/ponysay"
@@ -28,8 +29,8 @@ install: all
ln -sf "ponysay.1" "$(DESTDIR)/usr/share/man/man1/ponythink.1"
uninstall:
- rm -fr "$(DESTDIR)/usr/share/ponies"
- rm -fr "$(DESTDIR)/usr/share/ttyponies"
+ rm -fr "$(DESTDIR)/usr/share/ponysay/ponies"
+ rm -fr "$(DESTDIR)/usr/share/ponysay/ttyponies"
unlink "$(DESTDIR)/usr/bin/ponysay"
unlink "$(DESTDIR)/usr/bin/ponysaytruncater"
unlink "$(DESTDIR)/usr/bin/ponythink"