From: Timo Sirainen Date: Mon, 3 Aug 2009 17:33:50 +0000 (-0400) Subject: Makefiles: Changed check-test to depend on all-am to fix build dependency problems. X-Git-Tag: 2.0.alpha1~334 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b0db301ae7cdbc8376e9a7717809650df896d1df;p=thirdparty%2Fdovecot%2Fcore.git Makefiles: Changed check-test to depend on all-am to fix build dependency problems. --HG-- branch : HEAD --- diff --git a/src/dsync/Makefile.am b/src/dsync/Makefile.am index 8b3a73cc1d..f7c99ab9c8 100644 --- a/src/dsync/Makefile.am +++ b/src/dsync/Makefile.am @@ -69,7 +69,7 @@ test_dsync_proxy_server_cmd_LDADD = test-dsync-worker.o dsync-worker.o dsync-pro test_dsync_proxy_server_cmd_DEPENDENCIES = test-dsync-worker.o dsync-worker.o dsync-proxy.o dsync-proxy-server-cmd.o $(test_libs) check: check-am check-test -check-test: $(test_programs) +check-test: all-am for bin in $(test_programs); do \ if ! ./$$bin; then exit 1; fi; \ done diff --git a/src/lib-imap/Makefile.am b/src/lib-imap/Makefile.am index 6690bba233..2107c4d792 100644 --- a/src/lib-imap/Makefile.am +++ b/src/lib-imap/Makefile.am @@ -69,7 +69,7 @@ test_imap_util_LDADD = imap-util.lo $(test_libs) test_imap_util_DEPENDENCIES = imap-util.lo $(test_libs) check: check-am check-test -check-test: $(test_programs) +check-test: all-am for bin in $(test_programs); do \ if ! ./$$bin; then exit 1; fi; \ done diff --git a/src/lib-index/Makefile.am b/src/lib-index/Makefile.am index f96d496a09..33e1a591b3 100644 --- a/src/lib-index/Makefile.am +++ b/src/lib-index/Makefile.am @@ -90,7 +90,7 @@ test_mail_transaction_log_view_LDADD = mail-transaction-log-view.lo $(test_libs) test_mail_transaction_log_view_DEPENDENCIES = mail-transaction-log-view.lo $(test_libs) check: check-am check-test -check-test: $(test_programs) +check-test: all-am for bin in $(test_programs); do \ if ! ./$$bin; then exit 1; fi; \ done diff --git a/src/lib-mail/Makefile.am b/src/lib-mail/Makefile.am index 5868bf2dbf..fb8ba72ca0 100644 --- a/src/lib-mail/Makefile.am +++ b/src/lib-mail/Makefile.am @@ -115,7 +115,7 @@ test_rfc2231_parser_LDADD = rfc2231-parser.lo rfc822-parser.lo $(test_libs) test_rfc2231_parser_DEPENDENCIES = rfc2231-parser.lo rfc822-parser.lo $(test_libs) check: check-am check-test -check-test: $(test_programs) +check-test: all-am for bin in $(test_programs); do \ if ! ./$$bin; then exit 1; fi; \ done diff --git a/src/lib-storage/index/Makefile.am b/src/lib-storage/index/Makefile.am index aa709df157..5710abb6e4 100644 --- a/src/lib-storage/index/Makefile.am +++ b/src/lib-storage/index/Makefile.am @@ -58,7 +58,7 @@ test_index_fetch_LDADD = index-fetch.lo $(test_libs) test_index_fetch_DEPENDENCIES = index-fetch.lo $(test_libs) check: check-am check-test -check-test: $(test_programs) +check-test: all-am for bin in $(test_programs); do \ if ! ./$$bin; then exit 1; fi; \ done diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index ecf992d7f3..19e8c3dd3a 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -235,7 +235,7 @@ test_lib_LDADD = $(test_libs) test_lib_DEPENDENCIES = $(test_libs) check: check-am check-test -check-test: $(test_programs) +check-test: all-am for bin in $(test_programs); do \ if ! ./$$bin; then exit 1; fi; \ done