deluge/Makefile

29 lines
589 B
Makefile

#
# Makefile for Deluge
#
PREFIX = /usr/local
all:
python setup.py build
install:
python setup.py install --prefix=$(PREFIX)
clean:
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