############################################################################### # BRLTTY - A background process providing access to the console screen (when in # text mode) for a blind person using a refreshable braille display. # # Copyright (C) 1995-2021 by The BRLTTY Developers. # # BRLTTY comes with ABSOLUTELY NO WARRANTY. # # This is free software, placed under the terms of the # GNU Lesser General Public License, as published by the Free Software # Foundation; either version 2.1 of the License, or (at your option) any # later version. Please see the file LICENSE-LGPL for details. # # Web Page: http://brltty.app/ # # This software is maintained by Dave Mielke . ############################################################################### UDEV_RULES_SEQUENCE = 90 #UDEV_RULES_TYPE = all UDEV_RULES_TYPE = no-generic UDEV_SCRIPTS_DIRECTORY = $(INSTALL_ROOT)$(SCRIPTS_DIRECTORY) UDEV_LIBRARY_DIRECTORY = $(INSTALL_ROOT)$(UDEV_DIR) UDEV_RULES_DIRECTORY = $(UDEV_LIBRARY_DIRECTORY)/rules.d UDEV_PATH_PREFIX = $(UDEV_RULES_DIRECTORY)/$(UDEV_RULES_SEQUENCE)-$(PACKAGE_TARNAME)- UDEV_RULES_EXTENSION = rules UDEV_NAME_DEVICE = device.$(UDEV_RULES_EXTENSION) UDEV_NAME_UINPUT = uinput.$(UDEV_RULES_EXTENSION) install-scripts-directory: $(INSTALL_DIRECTORY) $(UDEV_SCRIPTS_DIRECTORY) install-wrapper: install-scripts-directory $(INSTALL_SCRIPT) $(SRC_DIR)/udev-wrapper $(UDEV_SCRIPTS_DIRECTORY) install-rules-directory: $(INSTALL_DIRECTORY) $(UDEV_RULES_DIRECTORY) install-rules: install-rules-directory $(INSTALL_DATA) $(BLD_DIR)/$(UDEV_NAME_DEVICE) $(UDEV_PATH_PREFIX)$(UDEV_NAME_DEVICE) $(INSTALL_DATA) $(SRC_DIR)/$(UDEV_NAME_UINPUT) $(UDEV_PATH_PREFIX)$(UDEV_NAME_UINPUT) install-rules-all: install-wrapper install-rules install-rules-no-generic: install-rules-all $(SRC_TOP)updusbdevs -quiet -quiet -nogeneric udev:$(UDEV_PATH_PREFIX)$(UDEV_NAME_DEVICE) install: install-rules-$(UDEV_RULES_TYPE) uninstall: -rm -f $(UDEV_RULES_DIRECTORY)/?*-$(PACKAGE_TARNAME).$(UDEV_RULES_EXTENSION) -rm -f $(UDEV_RULES_DIRECTORY)/?*-$(PACKAGE_TARNAME)-*.$(UDEV_RULES_EXTENSION) -rm -f $(UDEV_SCRIPTS_DIRECTORY)/udev-* distclean:: -rm device.rules reload: udevadm control --reload