summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Paul Sladen2009-03-29 19:37:18 +0200
committerGravatar Nikias Bassen2009-03-29 19:37:18 +0200
commitc9d137f59bdf3b8d2376ff20685870c5d3e92b5e (patch)
treefccaf7b6559591983c4e4557d19689291a7e2d78
parent19f83d2e9dbbd03d9cb8a09b915fd1e74c551bda (diff)
downloadusbmuxd-c9d137f59bdf3b8d2376ff20685870c5d3e92b5e.tar.gz
usbmuxd-c9d137f59bdf3b8d2376ff20685870c5d3e92b5e.tar.bz2
[PATCH] install udev rules into /etc/udev/rules.d/ install to make them work
Signed-off-by: Nikias Bassen <nikias@gmx.li>
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f395de6..fa5576b 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,8 @@ realclean: clean
install: all
install -m 755 usbmuxd $(INSTALL_PREFIX)/sbin/
# udev crack
- install -D -m 644 85-usbmuxd.rules $(INSTALL_PREFIX)/lib/udev/rules.d/85-usbmuxd.rules
+ #install -D -m 644 85-usbmuxd.rules $(INSTALL_PREFIX)/lib/udev/rules.d/85-usbmuxd.rules
+ install -m 644 85-usbmuxd.rules /etc/udev/rules.d/85-usbmuxd.rules
# protocol
install -m 644 usbmuxd-proto.h $(INSTALL_PREFIX)/include/
# iproxy
@@ -44,7 +45,8 @@ install: all
uninstall:
-rm $(INSTALL_PREFIX)/sbin/usbmuxd
- -rm $(INSTALL_PREFIX)/lib/udev/rules.d/85-usbmuxd.rules
+ #-rm $(INSTALL_PREFIX)/lib/udev/rules.d/85-usbmuxd.rules
+ -rm /etc/udev/rules.d/85-usbmuxd.rules
-rm $(INSTALL_PREFIX)/include/usbmuxd-proto.h
-rm $(INSTALL_PREFIX)/lib/libusbmuxd.so
-rm $(INSTALL_PREFIX)/include/usbmuxd.h