From 8f981db59baf08946fd368c1bbb5262b8de13b7e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 12 Nov 2015 20:29:18 -0800 Subject: [PATCH] Updated man page. Include version in man page. --- man/Makefile | 4 ++-- man/man1/pandoc-citeproc.1 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/man/Makefile b/man/Makefile index c69d1db9..ad60ad70 100644 --- a/man/Makefile +++ b/man/Makefile @@ -1,9 +1,9 @@ ALL=man1/pandoc-citeproc.1 DATE=$(shell date "+%Y-%m-%d") -VERSION=$(shell ../dist/build/pandoc-citeproc/pandoc-citeproc --version | head -1 | awk '{print $$2;}') +VERSION=$(shell stack exec -- pandoc-citeproc --version | head -1 | awk '{print $$2;}') .PHONY: all all: $(ALL) man1/%.1: %.1.md - pandoc $< -o $@ -s -t man -Vfooter="${VERSION}" -Vdate="${DATE}" + pandoc $< -o $@ -s -t man -Vfooter="pandoc-citeproc ${VERSION}" -Vdate="${DATE}" diff --git a/man/man1/pandoc-citeproc.1 b/man/man1/pandoc-citeproc.1 index 8fd044af..6ed47995 100644 --- a/man/man1/pandoc-citeproc.1 +++ b/man/man1/pandoc-citeproc.1 @@ -1,8 +1,8 @@ .\"t -.\" Automatically generated by Pandoc 1.15.1 +.\" Automatically generated by Pandoc 1.15.1.1 .\" .hy -.TH "pandoc\-citeproc" "1" "2015-10-13" "" "" +.TH "pandoc\-citeproc" "1" "2015-11-12" "pandoc-citeproc 0.8.1" "" .SH NAME .PP pandoc\-citeproc \- filter to resolve citations in a pandoc document.