aboutsummaryrefslogtreecommitdiffstats
path: root/man/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-11-18 23:23:40 +0100
committerMattias Andrée <maandree@kth.se>2023-11-18 23:23:40 +0100
commit0f1df0db903ba576fd17b08197d3066af7a61e5f (patch)
treea59c04307b1382257afa3c3512ec3abadf7e0e47 /man/Makefile
parentUse losetup -d instead of --detach and add clean up (diff)
downloaddotfiles-0f1df0db903ba576fd17b08197d3066af7a61e5f.tar.gz
dotfiles-0f1df0db903ba576fd17b08197d3066af7a61e5f.tar.bz2
dotfiles-0f1df0db903ba576fd17b08197d3066af7a61e5f.tar.xz
A lot of changes
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/Makefile')
-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