Add standard container definition for running the tests,
to make things easier for developers on other platforms.
--- /dev/null
+.git
+**/.vagrant
--- /dev/null
+FROM ubuntu:16.04
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+ gcc \
+ make \
+ autoconf \
+ gperf \
+ zlib1g-dev \
+ && rm -rf /var/lib/apt/lists/*
+
+WORKDIR /tmp/build
+
+COPY . .
+
+RUN ./autogen.sh \
+ && ./configure \
+ && make \
+ && make test
CPPCHECK = cppcheck
CPPCHECK_SUPPRESSIONS = cppcheck-suppressions.txt
SCAN_BUILD = scan-build
+DOCKER = docker
GPERF = gperf
XSLTPROC = xsltproc
MANPAGE_XSL = $(shell if [ -e /usr/local/etc/asciidoc/docbook-xsl/manpage.xsl ]; \
$(SCAN_BUILD) --use-cc=$(CC) ./configure
$(SCAN_BUILD) --use-cc=$(CC) --status-bugs $(MAKE) -B
+.PHONY: docker
+docker: Dockerfile
+ $(DOCKER) build $(srcdir)
+
-include .deps/*.d