Added the uninstall target in the makefile

This commit is contained in:
Duane Bekaert 2012-04-04 09:45:03 +02:00
parent a6ca6e858a
commit 14596502d6

View file

@ -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**