aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-02-15 16:52:07 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-02-15 16:52:07 +1300
commit440c5f7a1f079068647891ff33d38be3bcab9cea (patch)
tree63c05d882371776ae8e2d44668942ebcea95bae4 /Makefile
parentAlt-T shortcut to td(1) (diff)
downloaddotfiles-440c5f7a1f079068647891ff33d38be3bcab9cea.tar.gz
dotfiles-440c5f7a1f079068647891ff33d38be3bcab9cea.zip
Separate manuals into their own install target
Diffstat (limited to 'Makefile')
-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