chiark / gitweb /
rules: do not install usb-id/pci-id rules when --disable-extras is used
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 17 Jun 2009 16:18:22 +0000 (18:18 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 17 Jun 2009 16:18:22 +0000 (18:18 +0200)
TODO
rules/Makefile.am

diff --git a/TODO b/TODO
index e5b4dfb..c6576fd 100644 (file)
--- 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)
index 4bf5bc5..7247cef 100644 (file)
@@ -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