mirror of
https://git.sr.ht/~leon_plickat/wlopm
synced 2025-07-15 21:39:46 +02:00
add bash completion
This commit is contained in:
4
Makefile
4
Makefile
@ -3,6 +3,7 @@ SCANNER := wayland-scanner
|
||||
PREFIX=/usr/local
|
||||
BINDIR=$(PREFIX)/bin
|
||||
MANDIR=$(PREFIX)/share/man
|
||||
BASHCOMPDIR=$(PREFIX)/share/bash-completion/completions
|
||||
|
||||
CFLAGS+=-Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result -Wno-strict-prototypes
|
||||
LIBS=-lwayland-client
|
||||
@ -25,13 +26,14 @@ install: wlopm
|
||||
install wlopm $(DESTDIR)$(BINDIR)
|
||||
install -d $(DESTDIR)$(MANDIR)/man1
|
||||
install -m 644 wlopm.1 $(DESTDIR)$(MANDIR)/man1
|
||||
install bash-completion $(DESTDIR)$(BASHCOMPDIR)/wlopm
|
||||
|
||||
uninstall:
|
||||
$(RM) $(DESTDIR)$(BINDIR)/wlopm
|
||||
$(RM) $(DESTDIR)$(MANDIR)/man1/wlopm.1
|
||||
$(RM) $(DESTDIR)$(BASHCOMPDIR)/wlopm
|
||||
|
||||
clean:
|
||||
$(RM) wlopm $(GEN) $(OBJ)
|
||||
|
||||
.PHONY: clean install
|
||||
|
||||
|
Reference in New Issue
Block a user