Diff between 61c448fea117106e39cf4b0957f8f77a192b8a6a and af9464b0f2bd61c07e5b29f0916b363e4506e013

Changed Files

File Additions Deletions Status
Makefile.am +3 -7 modified

Full Patch

diff --git a/Makefile.am b/Makefile.am
index a482b54..fbabf02 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -174,20 +174,16 @@ test_scripts =
 include Makefile.tools
 include Makefile.obexd
 
+if HID2HCI
 rulesdir = @UDEV_DIR@/rules.d
 
-udev_files =
+rules_DATA = tools/97-hid2hci.rules
 
-if HID2HCI
-udev_files += tools/hid2hci.rules
+CLEANFILES += $(rules_DATA)
 endif
 
 EXTRA_DIST += tools/hid2hci.rules
 
-rules_DATA = $(foreach file,$(udev_files), tools/97-$(notdir $(file)))
-
-CLEANFILES += $(rules_DATA)
-
 if TEST
 testdir = $(pkglibdir)/test
 test_SCRIPTS = $(test_scripts)