cmark

My personal build of CMark ✏️

Commit
6f4f4c89fa1f9413a674b8798b30b54cfa8651af
Parent
7adaaaba5522a5bc583e6ae37d0158a85018f5bb
Author
John MacFarlane <jgm@berkeley.edu>
Date

Go back to using GNU syntax for SPECVERSION.

It seems that what works with gmake fails with BSD make and vice versa?

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified Makefile 2 1 1
diff --git 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