summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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