aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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"