diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2014-12-31 17:01:13 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2014-12-31 17:14:01 +0100 |
commit | e8a994cddc17eabaa415c73d970205aa489a756c (patch) | |
tree | eb3e9f177bd4f9bbcc15deabc9c764e421c59972 /Makefile | |
parent | fc9c8eed3d1b7f7608b8451c53b214e502f1b8f1 (diff) |
Recreate scanners.c only on demand
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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" |