Fix "make dist" after recent changes to parser

In particular, it is now possible to either build ModSecurity
with pre-generated parser, or use "--enable-parser-generation"
configure option to rebuild parser from sources.
This commit is contained in:
Andrei Belov 2017-03-07 16:17:49 +03:00 committed by Felipe Zimmerle
parent c290c73f9b
commit 85f98c8a66
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277
2 changed files with 15 additions and 1 deletions

View File

@ -8,6 +8,9 @@ SUBDIRS = \
reading_logs_with_offset \
reading_logs_via_rule_message
pkginclude_HEADERS = \
reading_logs_via_rule_message/reading_logs_via_rule_message.h
# make clean
CLEANFILES =

View File

@ -15,7 +15,18 @@ libmodsecurity_includesub_collectiondir = $(pkgincludedir)/collection/
libmodsecurity_includesub_actionsdir = $(pkgincludedir)/actions/
EXTRA_DIST = $(CLEANFILES)
# pregenerated parser + parser sources
EXTRA_DIST = \
parser/Makefile.am \
parser/Makefile.in \
parser/location.hh \
parser/position.hh \
parser/seclang-parser.cc \
parser/seclang-parser.hh \
parser/seclang-parser.yy \
parser/seclang-scanner.cc \
parser/seclang-scanner.ll \
parser/stack.hh
MAINTAINERCLEANFILES = \
Makefile.in \