Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
Updated man page. Include version in man page.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Nov 13, 2015
1 parent 7e42519 commit 8f981db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 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}"
4 changes: 2 additions & 2 deletions 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.
Expand Down

0 comments on commit 8f981db

Please sign in to comment.