diff options
author | Duane Bekaert <duane.bekaert@gmail.com> | 2012-04-04 09:45:03 +0200 |
---|---|---|
committer | Duane Bekaert <duane.bekaert@gmail.com> | 2012-04-04 09:45:03 +0200 |
commit | 14596502d66492c2ddd47a673cd92acdfb2bcd81 (patch) | |
tree | b570e6b64a936915c1a42df8f01f97c2eef23587 | |
parent | a6ca6e858a65acc0434d0bd1ad8ba39ffb0fcc71 (diff) | |
download | ponysay-14596502d66492c2ddd47a673cd92acdfb2bcd81.tar.gz ponysay-14596502d66492c2ddd47a673cd92acdfb2bcd81.tar.bz2 ponysay-14596502d66492c2ddd47a673cd92acdfb2bcd81.zip |
Added the uninstall target in the makefile
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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** |