Skip to content
Snippets Groups Projects
Commit 054416b0 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Merge pull request #20 from cgwalters/travis

Travis
parents 38ca0434 96466f29
No related branches found
Tags v0.20191120.0
1 merge request!365Build our own bubblewrap, and use it preferentially
language: c
dist: trusty
addons:
apt:
packages:
- automake
- autotools-dev
- libcap-dev
script:
- env NOCONFIGURE=1 ./autogen.sh
- mkdir build
- cd build && ../configure
- make -j 2
- make check
notifications:
webhooks: http://escher.verbum.org:54856/travis
email: false
branches:
only:
- auto
......@@ -11,4 +11,6 @@ XSLTPROC_FLAGS = \
.xml.1:
$(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
if ENABLE_MAN
man_MANS = bwrap.1
endif
......@@ -17,6 +17,24 @@ AM_PROG_CC_C_O
AC_CHECK_HEADERS([sys/capability.h], [], [AC_MSG_ERROR([*** POSIX caps headers not found])])
AC_ARG_ENABLE(man,
[AS_HELP_STRING([--enable-man],
[generate man pages [default=auto]])],,
enable_man=maybe)
AS_IF([test "$enable_man" != no], [
AC_PATH_PROG([XSLTPROC], [xsltproc], [])
AS_IF([test -z "$XSLTPROC"], [
AS_IF([test "$enable_man" = yes], [
AC_MSG_ERROR([xsltproc is required for --enable-man])
])
enable_man=no
], [
enable_man=yes
])
])
AM_CONDITIONAL(ENABLE_MAN, test "$enable_man" != no)
changequote(,)dnl
if test "x$GCC" = "xyes"; then
WARN_CFLAGS="-Wall -Werror=missing-prototypes"
......@@ -28,3 +46,11 @@ AC_CONFIG_FILES([
Makefile
])
AC_OUTPUT
echo "
bubblewrap $VERSION
===================
man pages (xsltproc): $enable_man
mysteriously satisfying to pop: yes"
echo ""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment