aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fd3e2551..6d1d69cd 100644
--- a/Makefile
+++ b/Makefile
@@ -82,12 +82,14 @@ install-bash : test-bash
install -pm 0644 -- bash/bash_logout "$(HOME)"/.bash_logout
install -pm 0644 -- bash/bash_completion "$(HOME)"/.config/bash_completion
-install-bin : test-bin
+install-bin : test-bin install-man
install -m 0755 -d -- \
"$(HOME)"/.local/bin \
"$(HOME)"/.local/share/man/man1 \
"$(HOME)"/.local/share/man/man8
install -m 0755 -- bin/* "$(HOME)"/.local/bin
+
+install-man:
install -pm 0644 -- man/man1/* "$(HOME)"/.local/share/man/man1
install -pm 0644 -- man/man8/* "$(HOME)"/.local/share/man/man8