Alex A. Naanou a235ec7504 initial commit...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2024-04-06 23:20:36 +03:00

17 lines
304 B
Makefile

SERVICE_DIR := /etc/systemd/system/
TIMER := thinkpad-keyboard-brightness.timer
UNIT := thinkpad-keyboard-brightness.service
.PHONY:install
install: $(TIMER) $(UNIT)
cp -f $? $(SERVICE_DIR)
systemctl daemon-reload
systemctl enamble ${UNIT}
systemctl enamble ${TIMER}
systemctl start ${TIMER}