Merge pull request #2 from Marneus68/master

uninstall rule in the makefile
This commit is contained in:
Erkin Batu Altunbaş 2012-04-05 08:07:36 -07:00
commit 5bfbf9feb6

View file

@ -2,4 +2,10 @@ install:
mkdir -p $(DESTDIR)/usr/share/ponies mkdir -p $(DESTDIR)/usr/share/ponies
cp -r ponies/*.pony $(DESTDIR)/usr/share/ponies/ cp -r ponies/*.pony $(DESTDIR)/usr/share/ponies/
install -Dm755 ponysay $(DESTDIR)/usr/bin/ponysay 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**