mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 05:26:28 +00:00
auto-detect python version for uninstall and change xpm to png
This commit is contained in:
parent
ef293f0742
commit
d277cfb21a
10
Makefile
10
Makefile
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Makefile for Deluge
|
# Makefile for Deluge
|
||||||
#
|
#
|
||||||
|
PYVER=`python -c "import sys; print sys.version[:3]"`
|
||||||
PREFIX = /usr
|
PREFIX = /usr
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@ -18,11 +18,9 @@ clean:
|
|||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
-rm $(PREFIX)/bin/deluge
|
-rm $(PREFIX)/bin/deluge
|
||||||
-rm -r $(PREFIX)/lib/python2.5/site-packages/deluge
|
-rm -r $(PREFIX)/lib/python${PYVER}/site-packages/deluge
|
||||||
-rm -r $(PREFIX)/lib/python2.5/site-packages/deluge-*.egg-info
|
-rm -r $(PREFIX)/lib/python${PYVER}/site-packages/deluge-*.egg-info
|
||||||
-rm -r $(PREFIX)/lib/python2.4/site-packages/deluge
|
|
||||||
-rm -r $(PREFIX)/lib/python2.4/site-packages/deluge-*.egg-info
|
|
||||||
-rm -r $(PREFIX)/share/deluge
|
-rm -r $(PREFIX)/share/deluge
|
||||||
-find ${PREFIX}/share/locale -name deluge.mo -exec rm {} \;
|
-find ${PREFIX}/share/locale -name deluge.mo -exec rm {} \;
|
||||||
-rm $(PREFIX)/share/applications/deluge.desktop
|
-rm $(PREFIX)/share/applications/deluge.desktop
|
||||||
-rm $(PREFIX)/share/pixmaps/deluge.xpm
|
-rm $(PREFIX)/share/pixmaps/deluge.png
|
||||||
|
Loading…
x
Reference in New Issue
Block a user