summaryrefslogtreecommitdiff
path: root/rules
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 /rules
parent0f50d0ef04feecfb33ac7dd7a38300679c3ed27d (diff)
rules: do not install usb-id/pci-id rules when --disable-extras is used
Diffstat (limited to 'rules')
-rw-r--r--rules/Makefile.am10
1 files changed, 7 insertions, 3 deletions
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