From e8a994cddc17eabaa415c73d970205aa489a756c Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Wed, 31 Dec 2014 17:01:13 +0100 Subject: Recreate scanners.c only on demand --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e0679e5..e00107a 100644 --- a/Makefile +++ b/Makefile @@ -85,6 +85,11 @@ $(SRCDIR)/html_unescape.h: $(SRCDIR)/html_unescape.gperf $(SRCDIR)/case_fold_switch.inc: $(DATADIR)/CaseFolding-3.2.0.txt perl mkcasefold.pl < $< > $@ +# We include scanners.c in the repository, so this shouldn't +# normally need to be generated. +$(SRCDIR)/scanners.c: $(SRCDIR)/scanners.re + re2c --case-insensitive -b -i --no-generation-date -o $@ $< + test: $(SPEC) $(BUILDDIR) make -C $(BUILDDIR) test ARGS="-V" -- cgit v1.2.3