Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ] build: Check for UDEV before setting rulesdir/rules_DATA
@ 2012-12-19 12:56 Anderson Lizardo
  2012-12-19 14:06 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Anderson Lizardo @ 2012-12-19 12:56 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Anderson Lizardo

Without this check, UDEV_DIR will be empty and an empty "/rules.d"
directory is created on DESTDIR.
---
 Makefile.am |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index a482b54..c10c1fa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -174,6 +174,7 @@ test_scripts =
 include Makefile.tools
 include Makefile.obexd
 
+if UDEV
 rulesdir = @UDEV_DIR@/rules.d
 
 udev_files =
@@ -187,6 +188,7 @@ EXTRA_DIST += tools/hid2hci.rules
 rules_DATA = $(foreach file,$(udev_files), tools/97-$(notdir $(file)))
 
 CLEANFILES += $(rules_DATA)
+endif
 
 if TEST
 testdir = $(pkglibdir)/test
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-19 15:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-19 12:56 [PATCH BlueZ] build: Check for UDEV before setting rulesdir/rules_DATA Anderson Lizardo
2012-12-19 14:06 ` Marcel Holtmann
2012-12-19 15:05   ` Anderson Lizardo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox