aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-01-23 18:20:08 +0100
committerBert <ber.t@gmx.com>2011-01-23 18:20:08 +0100
commitd3da0eb71e279f394803eea99f3b1be7b94bd511 (patch)
treeee00574b917fae966a0494b706ca43a74ac164ec /Makefile
parentbce599038ceac361c09e9d715e8c94716d6c3d0c (diff)
Added man page
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 253d015..98dc765 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,9 @@ sxiv: $(OBJFILES)
install: all
install -D -m 4755 -o root -g root sxiv $(PREFIX)/sbin/sxiv
+ mkdir -p $(PREFIX)/share/man/man1
+ sed "s/VERSION/$(VERSION)/g" dwm.1 > $(PREFIX)/share/man/man1/sxiv.1
+ chmod 644 $(PREFIX)/share/man/man1/sxiv.1
clean:
rm -f sxiv *.o