diff --git a/.travis.yml b/.travis.yml index c1ea5f6..65facc8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: c -script: ./autogen.sh && ./configure && make && make test +script: ./autogen.sh && ./configure && make && make distcheck # Use container based infrastructure sudo: false diff --git a/Makefile.am b/Makefile.am index d179d97..8165722 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,47 +1,6 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = libx52 test cli util -# lib_LTLIBRARIES = libx52.la libx52util.la -# -# # Core libx52 library -# # This library handles the USB communication between the host and the X52 -# libx52_la_SOURCES = src/x52_common.h src/x52_commands.h \ -# src/x52_control.c src/x52_core.c \ -# src/x52_date_time.c src/x52_mfd_led.c -# libx52_la_LDFLAGS = -version-info 2:0:1 -lusb-1.0 -# -# # libx52 utility library -# # This library provides extra utilities for ease of use -# libx52util_la_SOURCES = src/util_char_map.c -# libx52util_la_CFLAGS = -I $(srcdir)/src -# libx52util_la_LDFLAGS = -version-info 1:0:0 -# libx52util_la_LIBADD = libx52.la -# -# # Header files that need to be copied -# pkginclude_HEADERS = src/libx52.h -# -# # Binaries that use the above libraries -# bin_PROGRAMS = x52cli x52test -# -# # Command line utility that front ends the core library -# x52cli_SOURCES = src/x52_cli.c -# x52cli_LDADD = libx52.la -# -# # Test utility that exercises all the library functions -# x52test_SOURCES = src/x52_test.c src/x52_test_mfd.c src/x52_test_led.c \ -# src/x52_test_clock.c src/x52_test_common.h -# x52test_LDADD = libx52.la -# -# # Extra files that need to be in the distribution -# EXTRA_DIST = src/x52_char_map.cfg \ -# src/x52_char_map.h \ -# src/libx52.h -# -# # Character map generator -# noinst_PROGRAMS = x52charmapgen -# x52charmapgen_SOURCES = src/char_map_parser_gen.c -# -# # Autogenerated file that needs to be cleaned up -# CLEANFILES = src/util_char_map.c -# src/util_char_map.c: $(srcdir)/src/x52_char_map.cfg x52charmapgen$(EXEEXT) -# $(AM_V_GEN) ./x52charmapgen$(EXEEXT) $(srcdir)/src/x52_char_map.cfg $@ + +# Extra files that need to be in the distribution +EXTRA_DIST = README.md diff --git a/libx52/Makefile.am b/libx52/Makefile.am index 51a778b..42749a2 100644 --- a/libx52/Makefile.am +++ b/libx52/Makefile.am @@ -13,4 +13,4 @@ x52include_HEADERS = libx52.h # pkginclude_HEADERS = libx52.h # Extra files that need to be in the distribution -EXTRA_DIST = libx52.h x52_commands.h x52_common.h +EXTRA_DIST = libx52.h x52_commands.h x52_common.h README.md