summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-12 13:06:17 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-12 13:06:17 -0800
commit6f4f4c89fa1f9413a674b8798b30b54cfa8651af (patch)
tree930b77f07135c0cafdf2790532b207c94bfe392c /Makefile
parent7adaaaba5522a5bc583e6ae37d0158a85018f5bb (diff)
Go back to using GNU syntax for SPECVERSION.
It seems that what works with gmake fails with BSD make and vice versa?
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 292880d..b41ff55 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ DATADIR?=data
BUILDDIR?=build
SPEC=spec.txt
SITE=_site
-SPECVERSION=`perl -ne 'print $$1 if /^version: *([0-9.]+)/' $(SPEC)`
+SPECVERSION=$(shell perl -ne 'print $$1 if /^version: *([0-9.]+)/' $(SPEC))
PKGDIR?=cmark-$(SPECVERSION)
TARBALL?=cmark-$(SPECVERSION).tar.gz
FUZZCHARS?=2000000 # for fuzztest