Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-08-16 21:18:25 -0400
committerDave Reisner <dreisner@archlinux.org>2014-08-16 21:18:25 -0400
commit5e640c2534a287210f83dfb492dbe9a37b895a39 (patch)
treec68fa09dbf7c458ad3b6057f667f5dd547881be2 /Makefile
parent9b3fc65b80bb82016cd51c9bc5327a472a25a525 (diff)
add bash-completion
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2512cc7..2a2798c 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,9 @@ BINPROGS = \
MANPAGES = \
man/asp.1
+BASH_COMPLETION = \
+ shell/bash-completion
+
INCLUDES = \
package.inc.sh \
remote.inc.sh \
@@ -36,9 +39,9 @@ clean:
$(RM) $(BINPROGS) $(MANPAGES)
install: all
- install -dm755 $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1
- install -m755 $(BINPROGS) $(DESTDIR)$(PREFIX)/bin
- install -m644 $(MANPAGES) $(DESTDIR)$(PREFIX)/share/man/man1
+ install -Dm755 $(BINPROGS) $(DESTDIR)$(PREFIX)/bin
+ install -Dm644 $(MANPAGES) $(DESTDIR)$(PREFIX)/share/man/man1
+ install -Dm644 $(BASH_COMPLETION) $(DESTDIR)$(PREFIX)/share/bash-completion/completions/asp
dist:
git archive --format=tar --prefix=$(PACKAGE_NAME)-$(VER)/ v$(VER) | gzip -9 > $(PACKAGE_NAME)-$(VER).tar.gz