Makefile: fix version detection.

This commit is contained in:
John MacFarlane 2017-10-29 16:30:09 -07:00
parent 2f5729ddda
commit 4b9c33b50e

View file

@ -1,4 +1,4 @@
version?=$(shell grep '^Version:' pandoc.cabal | awk '{print $$2;}')
version?=$(shell grep '^[Vv]ersion:' pandoc.cabal | awk '{print $$2;}')
pandoc=$(shell find dist -name pandoc -type f -exec ls -t {} \; | head -1)
SOURCEFILES?=$(shell find pandoc.hs src test -name '*.hs')
BRANCH?=master