aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPablo Lezaeta <prflr88@gmail.com>2012-07-04 23:30:29 -0400
committerPablo Lezaeta <prflr88@gmail.com>2012-07-04 23:30:29 -0400
commit4063e82a1512515358480b53d87223f71e0efc20 (patch)
tree37230e9108d6cfae22491d1b83cb564b5855fc8a /Makefile
parentaa0b3c676d3e128ee7e6c72894919adf3b7c5ff5 (diff)
downloadponysay-4063e82a1512515358480b53d87223f71e0efc20.tar.gz
ponysay-4063e82a1512515358480b53d87223f71e0efc20.tar.bz2
ponysay-4063e82a1512515358480b53d87223f71e0efc20.zip
Migration to /usr/share/ponysay/{,tty}ponies (need more reviews)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 3ae7314..754009c 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"
@@ -24,8 +25,8 @@ install: all
install "COPYING" "$(DESTDIR)/usr/share/licenses/ponysay/COPYING"
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"