mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
build: Allow disabling the update of udev rules
We can only create the udev rules file when we're not cross-compiling, so allow people to disable updating the file when building from tarballs. If you run with --enable-udev-rules=no and the 60-fprint-autosuspend.rules doesn't exist, you're on your own.
This commit is contained in:
@@ -81,8 +81,10 @@ fprint_list_udev_rules_LDADD = $(builddir)/libfprint.la
|
||||
|
||||
udev_rules_DATA = 60-fprint-autosuspend.rules
|
||||
|
||||
if ENABLE_UDEV_RULES
|
||||
$(udev_rules_DATA): fprint-list-udev-rules
|
||||
$(builddir)/fprint-list-udev-rules > $@
|
||||
endif
|
||||
|
||||
if ENABLE_UPEKE2
|
||||
DRIVER_SRC += $(UPEKE2_SRC)
|
||||
|
||||
Reference in New Issue
Block a user