ebuilds/sys-apps/keyd/files/Makefile.patch
2023-05-17 21:58:59 +00:00

27 lines
1,013 B
Diff

diff --git a/Makefile b/Makefile
index 1f9dcce..011e4e8 100644
--- a/Makefile
+++ b/Makefile
@@ -47,14 +47,7 @@ man:
scdoc < "$$f" | gzip > "$$target"; \
done
install:
- @if [ -e $(DESTDIR)$(PREFIX)/lib/systemd/ ]; then \
- install -Dm644 keyd.service $(DESTDIR)$(PREFIX)/lib/systemd/system/keyd.service; \
- else \
- echo "NOTE: systemd not found, you will need to manually add keyd to your system's init process."; \
- fi
-
@if [ "$(VKBD)" = "usb-gadget" ]; then \
- install -Dm644 src/vkbd/usb-gadget.service $(DESTDIR)$(PREFIX)/lib/systemd/system/keyd-usb-gadget.service; \
install -Dm755 src/vkbd/usb-gadget.sh $(DESTDIR)$(PREFIX)/bin/keyd-usb-gadget.sh; \
fi
@@ -66,7 +59,6 @@ install:
mkdir -p $(DESTDIR)$(PREFIX)/share/doc/keyd/
mkdir -p $(DESTDIR)$(PREFIX)/share/doc/keyd/examples/
- -groupadd keyd
install -m755 bin/* $(DESTDIR)$(PREFIX)/bin/
install -m644 docs/*.md $(DESTDIR)$(PREFIX)/share/doc/keyd/
install -m644 examples/* $(DESTDIR)$(PREFIX)/share/doc/keyd/examples/