summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-06-17 18:18:22 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-06-17 18:18:22 +0200
commit0373056e4528f89504cfbf6da97394396005a147 (patch)
tree1583153965d26eefbd5e68c9f03626222cb05129
parent0f50d0ef04feecfb33ac7dd7a38300679c3ed27d (diff)
rules: do not install usb-id/pci-id rules when --disable-extras is used
-rw-r--r--TODO1
-rw-r--r--rules/Makefile.am10
2 files changed, 8 insertions, 3 deletions
diff --git a/TODO b/TODO
index e5b4dfba06..c6576fdaf0 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,4 @@
+
o enumerate: sort control* after pcm*
o add tests for kernel provided DEVNAME logic
o drop modprobe floppy alias (SUSE), it will be in the module (2.6.30)
diff --git a/rules/Makefile.am b/rules/Makefile.am
index 4bf5bc5f2b..7247cef568 100644
--- a/rules/Makefile.am
+++ b/rules/Makefile.am
@@ -7,12 +7,16 @@ dist_udevrules_DATA = \
rules.d/60-persistent-serial.rules \
rules.d/60-persistent-input.rules \
rules.d/60-persistent-alsa.rules \
- rules.d/75-net-description.rules \
- rules.d/75-tty-description.rules \
- rules.d/78-sound-card.rules \
rules.d/80-drivers.rules \
rules.d/95-udev-late.rules
+if ENABLE_EXTRAS
+dist_udevrules_DATA += \
+ rules.d/75-net-description.rules \
+ rules.d/75-tty-description.rules \
+ rules.d/78-sound-card.rules
+endif
+
install-data-local:
-mkdir -p $(DESTDIR)$(sysconfdir)/udev/rules.d