2007-05-22 22:48:51 +00:00
|
|
|
#
|
|
|
|
# Makefile for Deluge
|
|
|
|
#
|
|
|
|
|
2007-07-06 03:28:31 +00:00
|
|
|
PREFIX = /usr
|
2007-05-24 17:42:13 +00:00
|
|
|
|
2007-05-22 22:48:51 +00:00
|
|
|
|
|
|
|
all:
|
|
|
|
python setup.py build
|
|
|
|
|
|
|
|
install:
|
|
|
|
python setup.py install --prefix=$(PREFIX)
|
2007-05-25 17:51:05 +00:00
|
|
|
|
|
|
|
clean:
|
2007-07-05 23:50:05 +00:00
|
|
|
python setup.py clean
|
|
|
|
rm -rf ./build
|
|
|
|
rm msgfmt.pyc
|
|
|
|
find . -name *.pyc -exec rm {} \;
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
-rm $(PREFIX)/bin/deluge
|
|
|
|
-rm -r $(PREFIX)/lib/python2.5/site-packages/deluge
|
|
|
|
-rm -r $(PREFIX)/lib/python2.5/site-packages/deluge-*.egg-info
|
2007-07-06 03:28:31 +00:00
|
|
|
-rm -r $(PREFIX)/lib/python2.4/site-packages/deluge
|
|
|
|
-rm -r $(PREFIX)/lib/python2.4/site-packages/deluge-*.egg-info
|
2007-07-05 23:50:05 +00:00
|
|
|
-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
|