summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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