aboutsummaryrefslogtreecommitdiff
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
parentMention games dir in test description (diff)
downloaddotfiles-5e42b307b022b18d9dee3825bc36dcd950742947.tar.gz
dotfiles-5e42b307b022b18d9dee3825bc36dcd950742947.zip
Add dotfiles(7) manual page
Created with pandoc(1)
-rw-r--r--.gitignore1
-rw-r--r--Makefile11
-rw-r--r--man/man7/dotfiles.7.header4
3 files changed, 16 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 53f55817..5575cf5a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
gnupg/gpg.conf
+man/man7/dotfiles.7
tmux/tmux.conf
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
diff --git a/man/man7/dotfiles.7.header b/man/man7/dotfiles.7.header
new file mode 100644
index 00000000..2731f7dc
--- /dev/null
+++ b/man/man7/dotfiles.7.header
@@ -0,0 +1,4 @@
+% DOTFILES(7)
+% Tom Ryder
+% June 2016
+