Commit b8c65ce7 authored by James Collier's avatar James Collier

Prepare to 0.2 release

* Makefile.am: Ensure all necessary files are distibuted and (un)installable

* test/check_test.c: Ensure test data is accessible from out-of-tree builds
parent 97265f6b
Pipeline #4622548 passed with stages
in 5 minutes and 16 seconds
......@@ -13,12 +13,26 @@ super_SOURCES = src/main.c \
src/util.c \
src/plugin.c \
src/pipeline.c \
src/qcprot.c
src/qcprot.c \
src/argtable3.h \
src/database.h \
src/matrix.h \
src/pipeline.h \
src/plugin.h \
src/qcprot.h \
src/serrors.h \
src/sqrt_lut.h \
src/super_plugin_interface.h \
src/util.h \
src/vector_set.h
dbsuper_SOURCES = src/database.c \
src/vector_set.c \
src/dbsuper.c \
src/serrors.c
src/serrors.c \
src/database.h \
src/vector_set.h \
src/serrors.h
lib_LTLIBRARIES= arithmetic.la \
null.la \
......@@ -37,9 +51,37 @@ integer_la_LDFLAGS=-module
upperbound_la_SOURCES=src/plugins/cf_upperbound.c
upperbound_la_LDFLAGS=-module
EXTRA_DIST = src/preprocessor/pdb_pp.py \
m4/ax_code_coverage.m4 \
m4/ax_pthread.m4 \
test/data/invalid.database \
test/data/test_split.db \
test/data/test_whole.db \
test/data/ts1data.db \
test/data/ts1qry.db \
test/data/ts2data.db \
test/data/ts2qry.db \
test/data/ts3data.db \
test/data/ts3qry.db \
test/data/ts4data.db \
test/data/ts4qry.db \
test/data/ts5data.db \
test/data/ts5qry.db \
test/data/ts6data.db \
test/data/ts6qry.db \
test/data/ts7data.db \
test/data/ts7qry.db \
test/data/ts8data.db \
test/data/ts8qry.db \
test/data/ts9data.db \
test/data/ts9qry.db
install-exec-hook:
$(mkinstalldirs) $(DESTDIR)$(bindir)
$(INSTALL) src/preprocessor/pdb_pp.py $(DESTDIR)/$(bindir)/pdb_pp.py
$(INSTALL) $(VPATH)/src/preprocessor/pdb_pp.py $(DESTDIR)/$(bindir)/pdb_pp.py
uninstall-hook:
rm -rf $(DESTDIR)/$(bindir)/pdb_pp.py
TESTS = check_test
check_PROGRAMS = check_test
......@@ -48,7 +90,7 @@ check_test_SOURCES = src/vector_set.c \
src/matrix.c \
src/util.c \
test/check_test.c
check_test_CFLAGS=$(AM_CFLAGS) @CODE_COVERAGE_CFLAGS@
check_test_CFLAGS=$(AM_CFLAGS) @CODE_COVERAGE_CFLAGS@ -DTEST_DATA_PATH=""\""./$(VPATH)/test/data"\"""
check_test_LDADD=@CHECK_LIBS@ @CODE_COVERAGE_LDFLAGS@
CODE_COVERAGE_IGNORE_PATTERN="test/*" "sys/stat.h"
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment