From 876fb5fdc3aa157f319a1347e06f8ffa39a69aa6 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 24 Jan 2021 11:16:23 -0500 Subject: Makefile: Install completions --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 832586a..ed793a7 100644 --- a/Makefile +++ b/Makefile @@ -204,10 +204,13 @@ install: $(INSTALL) -m755 bfs $(DESTDIR)$(PREFIX)/bin/bfs $(MKDIR) $(DESTDIR)$(MANDIR)/man1 $(INSTALL) -m644 bfs.1 $(DESTDIR)$(MANDIR)/man1/bfs.1 + $(MKDIR) $(DESTDIR)$(PREFIX)/share/bash-completion/completions + $(INSTALL) -m644 completions/bfs.bash $(DESTDIR)$(PREFIX)/share/bash-completion/completions/bfs uninstall: - $(RM) $(DESTDIR)$(PREFIX)/bin/bfs + $(RM) $(DESTDIR)$(PREFIX)/share/bash-completion/completions/bfs $(RM) $(DESTDIR)$(MANDIR)/man1/bfs.1 + $(RM) $(DESTDIR)$(PREFIX)/bin/bfs .PHONY: default all $(FLAG_GOALS) check $(CHECKS) distcheck clean install uninstall -- cgit v1.2.3