blob: e858a7406826543923398077c8edf7e8eca92bab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
UDEV_RULE_DIR := /etc/udev/rules.d
RULES_FILE := 50-docking-station.rules
$(UDEV_RULE_DIR)/$(RULES_FILE): $(RULES_FILE)
@echo "Installing udev rules (requires root access)"
sudo install --owner=root --group=root --mode=644 -t $(UDEV_RULE_DIR) $(RULES_FILE)
install: $(UDEV_RULE_DIR)/$(RULES_FILE)
uninstall:
@echo "Removing udev rules (requires root access)"
sudo rm "$(UDEV_RULE_DIR)/$(RULES_FILE)"
.PHONY: install uninstall
|