aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-06-25 11:42:06 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-06-25 11:42:06 +1200
commit5e42b307b022b18d9dee3825bc36dcd950742947 (patch)
treebe1afa823431854abd1d29e5371b03ecb374572a /Makefile
parentMention games dir in test description (diff)
downloaddotfiles-5e42b307b022b18d9dee3825bc36dcd950742947.tar.gz
dotfiles-5e42b307b022b18d9dee3825bc36dcd950742947.zip
Add dotfiles(7) manual page
Created with pandoc(1)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5902950a..9d21f502 100644
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,7 @@ all : gnupg
clean distclean :
rm -f \
gnupg/gpg.conf \
+ man/man7/dotfiles.7 \
tmux/tmux.conf
gnupg : gnupg/gpg.conf
@@ -59,6 +60,12 @@ gnupg/gpg.conf :
m4 -D DOTFILES_HOME="$(HOME)" \
gnupg/gpg.conf.m4 > gnupg/gpg.conf
+dotfiles-man : man/man7/dotfiles.7
+
+man/man7/dotfiles.7 :
+ cat man/man7/dotfiles.7.header README.markdown | \
+ pandoc -sS -t man -o "$@"
+
TMUX_COLOR := colour237
tmux : tmux/tmux.conf
@@ -111,6 +118,10 @@ install-curl :
install-dircolors :
install -pm 0644 -- dircolors/dircolors "$(HOME)"/.dircolors
+install-dotfiles-man : man/man7/dotfiles.7
+ install -m 0755 -d -- "$(HOME)"/.local/share/man/man7
+ install -pm 0644 -- man/man7/*.7 "$(HOME)"/.local/share/man/man7
+
install-dunst : install-x
install -m 0755 -d -- "$(HOME)"/.config/dunst
install -pm 0644 -- dunst/dunstrc "$(HOME)"/.config/dunst