Skip to content

Commit

Permalink
fixed bug in makefile causing make distcheck to fail (sometimes...)
Browse files Browse the repository at this point in the history
  • Loading branch information
claesenm committed Oct 3, 2013
1 parent fde18ce commit d4cdf5b
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 139 deletions.
5 changes: 3 additions & 2 deletions Makefile.am
Expand Up @@ -158,7 +158,8 @@ __top_builddir__tests_workflow_LDADD = $(BASELIBS)
TESTS=$(check_PROGRAMS)

TESTS+=$(top_builddir)/tests/dummy-generator.test
EXTRA_DIST+=tests/dummy-generator.test tests/test_dummy-generator_input.txt tests/test_dummy-generator_dummies.txt tests/test_dummy-generator_reference.txt
EXTRA_DIST+=$(top_srcdir)/tests/dummy-generator.test $(top_srcdir)/tests/test_dummy-generator_input.txt \
$(top_srcdir)/tests/test_dummy-generator_dummies.txt $(top_srcdir)/tests/test_dummy-generator_reference.txt

TESTS+=$(top_builddir)/tests/sparse.test
EXTRA_DIST+=tests/sparse.test tests/test_sparse_input.txt tests/test_sparse_output.txt
EXTRA_DIST+=$(top_srcdir)/tests/sparse.test $(top_srcdir)/tests/test_sparse_input.txt $(top_srcdir)/tests/test_sparse_output.txt
14 changes: 7 additions & 7 deletions Makefile.in
Expand Up @@ -471,11 +471,13 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/src/libsvm -ffast-math
EXTRA_DIST = doc/doxygen.cfg.in doc/Makefile.in COPYING.LESSER LICENSE \
$(DEFAULT_LIBSVM_DIR)/svm.cpp $(DEFAULT_LIBSVM_DIR)/svm.h \
$(DEFAULT_LIBSVM_DIR)/COPYRIGHT boost include/any_iterator \
tests/dummy-generator.test \
tests/test_dummy-generator_input.txt \
tests/test_dummy-generator_dummies.txt \
tests/test_dummy-generator_reference.txt tests/sparse.test \
tests/test_sparse_input.txt tests/test_sparse_output.txt
$(top_srcdir)/tests/dummy-generator.test \
$(top_srcdir)/tests/test_dummy-generator_input.txt \
$(top_srcdir)/tests/test_dummy-generator_dummies.txt \
$(top_srcdir)/tests/test_dummy-generator_reference.txt \
$(top_srcdir)/tests/sparse.test \
$(top_srcdir)/tests/test_sparse_input.txt \
$(top_srcdir)/tests/test_sparse_output.txt

#####################
# AUTOTOOLS SCRIPTS #
Expand Down Expand Up @@ -554,8 +556,6 @@ __top_builddir__tests_workflow_SOURCES = src/tests/test_workflow.cpp
__top_builddir__tests_workflow_LDADD = $(BASELIBS)

# http://www.gnu.org/software/automake/manual/html_node/Scripts_002dbased-Testsuites.html#Scripts_002dbased-Testsuites

# check_PROGRAMS += $(top_builddir)/tests/dummy-generator.test
TESTS = $(check_PROGRAMS) $(top_builddir)/tests/dummy-generator.test \
$(top_builddir)/tests/sparse.test
all: $(BUILT_SOURCES) config.h
Expand Down

0 comments on commit d4cdf5b

Please sign in to comment.