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

Commit

Permalink
man/Makefile: get version from cabal file.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Nov 15, 2015
1 parent 67325af commit 2e219db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ALL=man1/pandoc-citeproc.1
DATE=$(shell date "+%Y-%m-%d")
VERSION=$(shell stack exec -- pandoc-citeproc --version | head -1 | awk '{print $$2;}')
VERSION=$(shell grep version: ../pandoc-citeproc.cabal | head -1 | awk '{print $$2;}')

.PHONY: all

Expand Down

0 comments on commit 2e219db

Please sign in to comment.