Commit 3cd62059 authored by Jan Včelák's avatar Jan Včelák 🚀

make dist: do not package scanner.c

parent f518de20
......@@ -2,6 +2,7 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = libtap src tests samples doc man patches
AM_DISTCHECK_CONFIGURE_FLAGS = \
--without-ragel \
--disable-code-coverage
code_coverage_quiet = --quiet
......
......@@ -21,12 +21,12 @@ else
if G2_PARSER
scanner.c: scanner.c.g2
cp $@.g2 $@
cp $(srcdir)/$@.g2 $@
endif
if T0_PARSER
scanner.c: scanner.c.t0
cp $@.t0 $@
cp $(srcdir)/$@.t0 $@
endif
endif #HAVE_RAGEL
......@@ -38,7 +38,6 @@ endif
libzscanner_la_SOURCES = \
zscanner.h \
scanner.h \
scanner.c \
error.h \
error.c \
loader.h \
......@@ -46,6 +45,9 @@ libzscanner_la_SOURCES = \
functions.h \
functions.c
nodist_libzscanner_la_SOURCES = \
scanner.c
libzscanner_la_CFLAGS = $(CODE_COVERAGE_CFLAGS)
libzscanner_la_LDFLAGS = \
$(CODE_COVERAGE_LDFLAGS) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment