aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7dc2750..ec25bf4 100644
--- a/Makefile
+++ b/Makefile
@@ -2,4 +2,10 @@ install:
mkdir -p $(DESTDIR)/usr/share/ponies
cp -r ponies/*.pony $(DESTDIR)/usr/share/ponies/
install -Dm755 ponysay $(DESTDIR)/usr/bin/ponysay
- ln -s ponysay $(DESTDIR)/usr/bin/ponythink
+ ln -s ponysay $(DESTDIR)/usr/bin/ponythink**
+
+uninstall:
+ rm -fr $(DESTDIR)/usr/share/ponies
+# cp -r ponies/*.pony $(DESTDIR)/usr/share/ponies/
+ rm -f $(DESTDIR)/usr/bin/ponysay
+ unlink $(DESTDIR)/usr/bin/ponythink**