aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/debian
diff options
context:
space:
mode:
Diffstat (limited to 'host/cmake/debian')
-rwxr-xr-xhost/cmake/debian/postinst.in4
-rw-r--r--host/cmake/debian/watch3
2 files changed, 5 insertions, 2 deletions
diff --git a/host/cmake/debian/postinst.in b/host/cmake/debian/postinst.in
index eaca15394..bc27c46f0 100755
--- a/host/cmake/debian/postinst.in
+++ b/host/cmake/debian/postinst.in
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright 2011 Ettus Research LLC
+# Copyright 2011,2013 Ettus Research LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
#
if [ "$1" = "configure" ]; then
- cp @CMAKE_INSTALL_PREFIX@/share/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules
+ cp @CMAKE_INSTALL_PREFIX@/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/uhd-usrp.rules
udevadm control --reload-rules
ldconfig
fi
diff --git a/host/cmake/debian/watch b/host/cmake/debian/watch
new file mode 100644
index 000000000..9e79c82aa
--- /dev/null
+++ b/host/cmake/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/([^0-9]|)0*(\d)/$1$2/g;s/_/./g \
+https://github.com/EttusResearch/uhd/tags .*/release_([\d_]+)\.tar\..*