Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use autotools (autoconf, automake) to build keyd #831

Closed
wants to merge 17 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Teach make all to make everything
rhansen committed Sep 9, 2024
commit 17664a0ae053fc5425449457bef0866998355cad
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ else
COMPAT_FILES=
endif

all:
all: compose man
-mkdir bin
cp scripts/keyd-application-mapper bin/
$(CC) $(CFLAGS) -O3 $(COMPAT_FILES) src/*.c src/vkbd/$(VKBD).c -lpthread -o bin/keyd $(LDFLAGS)
@@ -91,7 +91,7 @@ uninstall:
$(DESTDIR)$(PREFIX)/bin/keyd-usb-gadget.sh \
$(DESTDIR)$(PREFIX)/lib/systemd/system/keyd.service
clean:
rm -rf bin keyd.service src/vkbd/usb-gadget.service
rm -rf bin data/*.1.gz data/keyd.compose keyd.service src/unicode.c src/vkbd/usb-gadget.service
test:
@cd t; \
for f in *.sh; do \