summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2a2798c..28f5298 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,8 @@ clean:
$(RM) $(BINPROGS) $(MANPAGES)
install: all
- install -Dm755 $(BINPROGS) $(DESTDIR)$(PREFIX)/bin
+ install -dm755 $(DESTDIR)$(PREFIX)/bin
+ install -m755 $(BINPROGS) $(DESTDIR)$(PREFIX)/bin
install -Dm644 $(MANPAGES) $(DESTDIR)$(PREFIX)/share/man/man1
install -Dm644 $(BASH_COMPLETION) $(DESTDIR)$(PREFIX)/share/bash-completion/completions/asp