little touchup and uninstall

This commit is contained in:
Marcos Pinto
2007-07-05 23:50:05 +00:00
parent 2c958c6cf5
commit fc8791deba
2 changed files with 18 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
# Makefile for Deluge
#
PREFIX = /usr
PREFIX = /usr/local
all:
@@ -12,4 +12,17 @@ install:
python setup.py install --prefix=$(PREFIX)
clean:
python setup.py clean; rm -rf ./build; rm msgfmt.pyc
python setup.py clean
rm -rf ./build
rm msgfmt.pyc
find . -name *.pyc -exec rm {} \;
uninstall:
#find /usr -name deluge
-rm $(PREFIX)/bin/deluge
-rm -r $(PREFIX)/lib/python2.5/site-packages/deluge
-rm -r $(PREFIX)/lib/python2.5/site-packages/deluge-*.egg-info
-rm -r $(PREFIX)/share/deluge
-find ${PREFIX}/share/locale -name deluge.mo -exec rm {} \;
-rm $(PREFIX)/share/applications/deluge.desktop
-rm $(PREFIX)/share/pixmaps/deluge.xpm