diff --git a/.travis.yml b/.travis.yml index e1ee417..93902ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,3 +20,6 @@ script: - cat tests/test-suite.log - tests/test_all.py - LD_LIBRARY_PATH=jstruct/.libs/ CK_FORK="no" valgrind --leak-check=yes tests/.libs/check_jstruct + - make dist + - tar -zxf libjstruct-la-*.tar.gz + - cd $(find ./ -name 'libjstruct-la-*.*.*') && ./configure && make && sudo make install diff --git a/configure.ac b/configure.ac index 0f63c28..53ac462 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([libjstruct.la], [0.0.5], [jamie.pate@gmail.com]) +AC_INIT([libjstruct.la], [0.0.6], [jamie.pate@gmail.com]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/jstruct/Makefile.am b/jstruct/Makefile.am index 0cc0a38..3b8242c 100644 --- a/jstruct/Makefile.am +++ b/jstruct/Makefile.am @@ -1,5 +1,13 @@ ## Process this file with automake to produce Makefile.in lib_LTLIBRARIES = libjstruct.la + +libjstructincludedir = $(includedir)/jstruct libjstruct_la_SOURCES = jstruct.c jstruct_private.c error.c export.c import.c -include_HEADERS = jstruct.h export.h import.h error.h result.h +# libtool -version-info c:r:a +# no interface change: bump revision only, don’t touch current nor age. +# interface change: set revision to 0, bump current and age. +# recompile/link change: Bump current, set revision and age to 0. +libjstruct_la_LDFLAGS = -version-info 0:0:0 +libjstructinclude_HEADERS = jstruct.h export.h import.h error.h result.h +noinst_HEADERS = jstruct_private.h export_private.h import_private.h error.init.h result.init.h