Skip to content

Loading…

Use a consistent destination for Bash completion #67

Closed
wants to merge 1 commit into from

2 participants

@baskerville

No description provided.

@falconindy
Owner

Can't really say I'm too fond of the uninstall target to being with.

Would bash-completion even read completions from /usr/local/share? I'll do one better. See 71aa5c6

@falconindy falconindy closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 16, 2013
  1. @baskerville
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
View
4 Makefile
@@ -30,14 +30,14 @@ strip: $(OUT)
install: all
install -D -m755 cower $(DESTDIR)$(PREFIX)/bin/cower
install -D -m644 cower.1 $(DESTDIR)$(MANPREFIX)/man1/cower.1
- install -D -m644 bash_completion $(DESTDIR)/usr/share/bash-completion/completions/cower
+ install -D -m644 bash_completion $(DESTDIR)$(PREFIX)/share/bash-completion/completions/cower
install -D -m644 zsh_completion $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_cower
install -D -m644 config $(DESTDIR)$(PREFIX)/share/doc/cower/config
uninstall:
$(RM) $(DESTDIR)$(PREFIX)/bin/cower \
$(DESTDIR)/$(MANPREFIX)/man1/cower.1 \
- $(DESTDIR)/etc/bash_completion.d/cower \
+ $(DESTDIR)$(PREFIX)/share/bash-completion/completions/cower \
$(DESTDIR)$(PREFIX)/share/zsh/site-functions/_cower \
$(DESTDIR)$(PREFIX)/share/doc/cower/config
Something went wrong with that request. Please try again.