From 14596502d66492c2ddd47a673cd92acdfb2bcd81 Mon Sep 17 00:00:00 2001 From: Duane Bekaert Date: Wed, 4 Apr 2012 09:45:03 +0200 Subject: Added the uninstall target in the makefile --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') 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** -- cgit