Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix make distcheck and add Travis CI configuration #776

Merged
merged 3 commits into from
Jul 24, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Travis CI script

language: c

os:
- linux

dist: trusty

sudo: required

addons:
apt:
packages:
- libbsd-dev
- libglib2.0-dev
- libx11-dev
- libkmod-dev

script: autoreconf -fi && ./configure && make distcheck
16 changes: 13 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
GITVERSION = $(shell "$(top_srcdir)/version.sh" "$(top_srcdir)")
relnotes = doc/RELEASE_NOTES_3_2_1

DISTCHECK_CONFIGURE_FLAGS = --with-udev-rules=$$dc_install_base/lib/udev/rules.d

bumblebeedconfdir=$(sysconfdir)/bumblebee

AM_CPPFLAGS = ${regular_CPPFLAGS} \
Expand Down Expand Up @@ -37,9 +39,17 @@ EXTRA_DIST = scripts/systemd/bumblebeed.service.in \
scripts/bash_completion/bumblebee \
scripts/bumblebee-bugreport.in \
$(relnotes) \
version.sh
# for laziness include all headers found
EXTRA_DIST += src/*.h src/*/switching.h
version.sh \
src/bbconfig.h \
src/bblogger.h \
src/bbrun.h \
src/bbsecondary.h \
src/bbsocketclient.h \
src/bbsocket.h \
src/driver.h \
src/module.h \
src/pci.h \
src/switch/switching.h

if WITH_PIDFILE
EXTRA_DIST += scripts/sysvinit/bumblebeed.in
Expand Down