aboutsummaryrefslogtreecommitdiffstats
path: root/man/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/man/Makefile b/man/Makefile
new file mode 100644
index 0000000..726047c
--- /dev/null
+++ b/man/Makefile
@@ -0,0 +1,18 @@
+.POSIX:
+
+install:
+ ../check-installed-shebang colourised-less-for-man
+ ../check-installed-shebang man
+ ../check-in-path dmenu
+ ../check-in-path sed
+ ../check-in-path isfg
+ ../check-in-path less
+ mkdir -p -- ~/.local/bin
+ ln -sf -- ~/.dotfiles/man/man ~/.local/bin/
+ ln -sf -- ~/.dotfiles/man/colourised-less-for-man ~/.local/bin/
+
+uninstall:
+ +! ../check-installed man
+ +! ../check-installed man-db
+ -unlink -- ~/.local/bin/man
+ -unlink -- ~/.local/bin/colourised-less-for-man