diff options
author | Alexander Shorin <kxepal@apache.org> | 2014-06-23 00:40:56 +0400 |
---|---|---|
committer | Alexander Shorin <kxepal@apache.org> | 2014-06-23 15:55:52 +0400 |
commit | 2e3e693666e557e89c5869ba2ee4614bd394ad71 (patch) | |
tree | f7bd482a675249db05b4135063834220d89a4111 | |
parent | 947261d4acb7f1a3ee51e968268afeb51e6a8245 (diff) | |
download | couchdb-1963-eunit.tar.gz |
Fix Makefile rules for `make distcheck`1963-eunit
-rw-r--r-- | test/couchdb/Makefile.am | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/couchdb/Makefile.am b/test/couchdb/Makefile.am index 2de2a9025..fcc8d19c6 100644 --- a/test/couchdb/Makefile.am +++ b/test/couchdb/Makefile.am @@ -14,15 +14,6 @@ SUBDIRS = fixtures noinst_SCRIPTS = run -all: - mkdir -p ebin - mkdir -p temp - ${ERLC} -Wall -I$(top_srcdir)/src -I$(top_srcdir)/test/couchdb/include \ - -o ebin/ test_request.erl test_web.erl - chmod +x run - chmod +x fixtures/*.sh - chmod -x fixtures/os_daemon_bad_perm.sh - eunit_files = \ couch_auth_cache_tests.erl \ couch_btree_tests.erl \ @@ -78,6 +69,15 @@ EXTRA_DIST = \ $(eunit_files) \ $(fixture_files) +all: + @mkdir -p ebin/ + @mkdir -p temp/ + $(ERLC) -Wall -I$(top_srcdir)/src -I$(top_srcdir)/test/couchdb/include \ + -o $(top_builddir)/test/couchdb/ebin/ $(ERLC_FLAGS) ${TEST} \ + $(top_srcdir)/test/couchdb/test_request.erl \ + $(top_srcdir)/test/couchdb/test_web.erl + chmod +x run + clean-local: - rm -rf ebin - rm -rf temp + rm -rf ebin/ + rm -rf temp/ |