aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2012-09-02 22:15:55 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2012-09-02 22:15:55 +0200
commit0fb8543ddee1207963d965217261312ff098e04d (patch)
tree0e8d59296a6284d7451f614147b8b49a0a2849de /Makefile.am
parent5f88049c0cf27b89570c8954cfd3a03d042fa486 (diff)
install (and uninstall) udev rules file
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index ec34b36..ec705c8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,13 +7,16 @@ SUBDIRS = include src
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = librtlsdr.pc
+udevrulesdir=/etc/udev/rules.d
+udevrules_DATA = rtl-sdr.rules
+
BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:
echo $(VERSION) > $@-t && mv $@-t $@
dist-hook:
echo $(VERSION) > $(distdir)/.tarball-version
-EXTRA_DIST = git-version-gen
+EXTRA_DIST = git-version-gen $(udevrules_DATA)
if HAVE_DOXYGEN