about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-12-09 21:58:02 +0200
committerGitHub <noreply@github.com>2019-12-09 21:58:02 +0200
commita9a85c201eda486ff7d3be9b06fca705d4675612 (patch)
tree71d6a4e00c28a6e45738dff4d0a20c5b458825a3 /Makefile
parent05e7e2c502a07d9b38ca0c8f055445c38b10d049 (diff)
parent4ff19f6c059fc0d477273304988dc6b7c0ee6320 (diff)
downloadranger-a9a85c201eda486ff7d3be9b06fca705d4675612.tar.gz
Merge branch 'master' into feat-update-icon-title
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 87c5ff1b..15dbb9db 100644
--- a/Makefile
+++ b/Makefile
@@ -125,11 +125,19 @@ test_other:
 test: test_py test_shellcheck
 	@echo "Finished testing: All tests passed!"
 
-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
+doc/ranger.1: doc/ranger.pod
+	pod2man --stderr --center='ranger manual' \
+		--date='$(NAME)-$(VERSION)' \
+		--release=$(shell date -u '+%Y-%m-%d') \
+		doc/ranger.pod doc/ranger.1
+
+doc/rifle.1: doc/rifle.pod
+	pod2man --stderr --center='rifle manual' \
+		--date='$(NAME_RIFLE)-$(VERSION_RIFLE)' \
+		--release=$(shell date -u '+%Y-%m-%d') \
+		doc/rifle.pod doc/rifle.1
+
+man: doc/ranger.1 doc/rifle.1
 
 manhtml:
 	pod2html doc/ranger.pod --outfile=doc/ranger.1.html