about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-18 03:22:32 +0100
committerhut <hut@lavabit.com>2013-02-18 03:22:32 +0100
commita6836d5d2b809dab92c178c3678317d8c8f00220 (patch)
tree58967848b218cbad8d12ace6ba244461b84673fa /Makefile
parentd5e6a43d9a0c29c13aecb1df1a3459aabab1c3e6 (diff)
downloadranger-a6836d5d2b809dab92c178c3678317d8c8f00220.tar.gz
doc/rifle.1: Added man page for rifle
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a88a001f..2a4975ce 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,8 @@
 
 NAME = ranger
 VERSION = $(shell grep -m 1 -o '[0-9][0-9.]\+' README)
+NAME_RIFLE = rifle
+VERSION_RIFLE = $(VERSION)
 SNAPSHOT_NAME ?= $(NAME)-$(VERSION)-$(shell git rev-parse HEAD | cut -b 1-8).tar.gz
 # Find suitable python version (need python >= 2.6 or 3.1):
 PYTHON ?= $(shell python -c 'import sys; sys.exit(sys.version < "2.6")' && \
@@ -66,6 +68,8 @@ test:
 man:
 	pod2man --stderr --center='ranger manual' --date='$(NAME)-$(VERSION)' \
 		--release=$(shell date +%x) doc/ranger.pod doc/ranger.1
+	pod2man --stderr --center='rifle manual' --date='$(NAME_RIFLE)-$(VERSION_RIFLE)' \
+		--release=$(shell date +%x) doc/rifle.pod doc/rifle.1
 
 manhtml:
 	pod2html doc/ranger.pod --outfile=doc/ranger.1.html