eudev/rules/Makefile.am
Boian Bonev 247724da45
Merge suitable rules changes from systemd
Merge up to commit 5674b74c4f99e433fd8e7242e9f16f6ddfece94c

- change @bindir@ to {{ROOTBINDIR}} in templates (better future tracking)
- keep rules/50-udev-default.rules as plain instead of template
- add
  60-autosuspend.rules
  60-fido-id.rules
  70-camera.rules
  70-memory.rules
  81-net-dhcp.rules
2022-05-26 19:31:43 +03:00

62 lines
1.1 KiB
Makefile

ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
EXTRA_DIST = \
64-btrfs.rules.in
CLEANFILES = \
64-btrfs.rules
dist_udevrules_DATA = \
50-udev-default.rules \
60-autosuspend.rules \
60-block.rules \
60-cdrom_id.rules \
60-drm.rules \
60-evdev.rules \
60-fido-id.rules \
60-input-id.rules \
60-persistent-alsa.rules \
60-persistent-input.rules \
60-persistent-storage-tape.rules \
60-persistent-v4l.rules \
60-sensor.rules \
60-serial.rules \
64-btrfs.rules \
70-camera.rules \
70-joystick.rules \
70-memory.rules \
70-mouse.rules \
70-touchpad.rules \
75-net-description.rules \
78-sound-card.rules \
81-net-dhcp.rules
if !ENABLE_RULE_GENERATOR
dist_udevrules_DATA += \
80-net-name-slot.rules
endif
if HAVE_BLKID
dist_udevrules_DATA += \
60-persistent-storage.rules
endif
if HAVE_KMOD
dist_udevrules_DATA += \
80-drivers.rules
endif
if ENABLE_MTD_PROBE
dist_udevrules_DATA += \
75-probe_mtd.rules
endif
do_subst = $(SED) \
-e 's,{{ROOTBINDIR}},$(bindir),g'
64-btrfs.rules: $(srcdir)/64-btrfs.rules.in Makefile
$(do_subst) $(srcdir)/64-btrfs.rules.in > 64-btrfs.rules
install-data-local:
$(MKDIR_P) $(DESTDIR)$(udevconfdir)/rules.d