cmark

My personal build of CMark ✏️

Commit
de451d06eeb9c1e66352e9e9ad367a95b1cd1d1f
Parent
64ed30ef85a6968509392224a6849907f554f174
Author
John MacFarlane <jgm@berkeley.edu>
Date

Cleaned up Makefile.

Diffstat

1 file changed, 1 insertion, 7 deletions

Status File Name N° Changes Insertions Deletions
Modified Makefile 8 1 7
diff --git a/Makefile b/Makefile
@@ -8,8 +8,6 @@ SPEC=spec.txt
 SITE=_site
 SPECVERSION=$(shell perl -ne 'print $$1 if /^version: *([0-9.]+)/' $(SPEC))
 PKGDIR?=cmark-$(SPECVERSION)
-TARBALL?=cmark-$(SPECVERSION).tar.gz
-ZIPARCHIVE?=cmark-$(SPECVERSION).zip
 FUZZCHARS?=2000000  # for fuzztest
 BENCHDIR=bench
 BENCHFILE=$(BENCHDIR)/benchinput.md
@@ -60,7 +58,7 @@ archive:
 	git archive --prefix=$(RELEASE)/ -o $(RELEASE).zip HEAD
 
 clean:
-	rm -rf $(BUILDDIR) $(MINGW_BUILDDIR) $(MINGW_INSTALLDIR) $(TARBALL) $(ZIPARCHIVE) $(PKGDIR)
+	rm -rf $(BUILDDIR) $(MINGW_BUILDDIR) $(MINGW_INSTALLDIR) $(PKGDIR)
 
 # We include html_unescape.h in the repository, so this shouldn't
 # normally need to be generated.
@@ -81,10 +79,6 @@ $(SRCDIR)/scanners.c: $(SRCDIR)/scanners.re
 test: $(SPEC) $(BUILDDIR)
 	make -C $(BUILDDIR) test || (cat $(BUILDDIR)/Testing/Temporary/LastTest.log && exit 1)
 
-$(TARBALL): archive
-
-$(ZIPARCHIVE): archive
-
 $(ALLTESTS): spec.txt
 	python3 test/spec_tests.py --spec $< --dump-tests | python3 -c 'import json; import sys; tests = json.loads(sys.stdin.read()); print("\n".join([test["markdown"] for test in tests]))' > $@