summaryrefslogtreecommitdiff
path: root/rules/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'rules/Makefile.am')
-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