aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErkin Batu Altunbaş <erkinbatu@gmail.com>2012-04-05 08:07:36 -0700
committerErkin Batu Altunbaş <erkinbatu@gmail.com>2012-04-05 08:07:36 -0700
commit5bfbf9feb6b93a4be1cafc23a4c9676076e32796 (patch)
treea35c94e65e33159d62f61fe5874ec207fe0ba32c /Makefile
parenteae1f9bdcb791a68c671699363bcdc9f1602c368 (diff)
parent14596502d66492c2ddd47a673cd92acdfb2bcd81 (diff)
downloadponysay-5bfbf9feb6b93a4be1cafc23a4c9676076e32796.tar.gz
ponysay-5bfbf9feb6b93a4be1cafc23a4c9676076e32796.tar.bz2
ponysay-5bfbf9feb6b93a4be1cafc23a4c9676076e32796.zip
Merge pull request #2 from Marneus68/master
uninstall rule in the makefile
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**