summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-09-24 17:57:00 +0200
committerhut <hut@lavabit.com>2011-09-24 17:57:00 +0200
commitc7720fff4fc500dab7cfb2d2b3b63e2b966502d2 (patch)
tree25437e8939635219cadabd059aef3d9bfe2b0111 /Makefile
parentf491d57798601093c1ee353aa9943e995a1e5648 (diff)
downloadranger-c7720fff4fc500dab7cfb2d2b3b63e2b966502d2.tar.gz
Overhauled manpage. It's in POD format now.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fd525721..1c0b5fda 100644
--- a/Makefile
+++ b/Makefile
@@ -63,6 +63,10 @@ doc: cleandoc
 		pydoc.writedocs("$(CWD)")'
 	find . -name \*.html -exec sed -i 's|'$(CWD)'|../..|g' -- {} \;
 
+man:
+	pod2man --stderr --center='ranger manual' --date='$(NAME)-$(VERSION)' \
+		--release=$(shell date +%x) doc/ranger.pod doc/ranger.1
+
 cleandoc:
 	test -d $(DOCDIR) && rm -f -- $(DOCDIR)/*.html || true
 
@@ -75,4 +79,4 @@ bm:
 snapshot:
 	git archive --prefix='$(NAME)-$(VERSION)/' --format=tar HEAD | gzip > $(SNAPSHOT_NAME)
 
-.PHONY: default options compile clean doc cleandoc test bm snapshot install
+.PHONY: default options compile clean doc cleandoc test bm snapshot install man