aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-12 21:02:38 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-12 21:02:38 -0800
commitde451d06eeb9c1e66352e9e9ad367a95b1cd1d1f (patch)
tree48a84618753571d6f1df79235c438050793de7a7 /Makefile
parent64ed30ef85a6968509392224a6849907f554f174 (diff)
Cleaned up Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index aade387..a50581f 100644
--- 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]))' > $@