Makefile: fix version detection.
commit4b9c33b50e6614ed867ca974355457aba08e4838
authorJohn MacFarlane <jgm@berkeley.edu>
dateSun 29 Oct 2017, 16:30 (9 years ago)
parent2f5729d
Makefile+1−1
@@ -1,4 +1,4 @@
1−version?=$(shell grep '^Version:' pandoc.cabal | awk '{print $$2;}')
1+version?=$(shell grep '^[Vv]ersion:' pandoc.cabal | awk '{print $$2;}')
22pandoc=$(shell find dist -name pandoc -type f -exec ls -t {} \; | head -1)
33SOURCEFILES?=$(shell find pandoc.hs src test -name '*.hs')
44BRANCH?=master