aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--_sys/usr/share/bash-completion/completions/gotp (renamed from _sys/etc/bash_completion.d/gotp)0
2 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4af081f..b0ee6f0 100644
--- a/Makefile
+++ b/Makefile
@@ -21,14 +21,18 @@ build:
install: build
install -D _sys/usr/bin/gotp $(DESTDIR)/usr/bin/gotp
- install -Dm644 _sys/etc/bash_completion.d/gotp $(DESTDIR)/etc/bash_completion.d/gotp
+ install -Dm644 \
+ _sys/usr/share/bash-completion/completions/gotp \
+ $(DESTDIR)/usr/share/bash-completion/completions/gotp
install -Dm644 COPYING $(DESTDIR)/usr/share/licenses/gotp/COPYING
.PHONY: install-darwin
install-darwin: DESTDIR=/usr/local
install-darwin: build
install -D _sys/usr/bin/gotp $(DESTDIR)/bin/gotp
- install -Dm644 _sys/etc/bash_completion.d/gotp $(DESTDIR)/etc/bash_completion.d/gotp
+ install -Dm644 \
+ _sys/usr/share/bash-completion/completions/gotp \
+ $(DESTDIR)/etc/bash_completion.d/gotp
install -Dm644 COPYING $(DESTDIR)/share/gotp/COPYING
serve-doc:
diff --git a/_sys/etc/bash_completion.d/gotp b/_sys/usr/share/bash-completion/completions/gotp
index 6262172..6262172 100644
--- a/_sys/etc/bash_completion.d/gotp
+++ b/_sys/usr/share/bash-completion/completions/gotp