From e29a1924afe9e6051369f7bcbf44ccdf53de536a Mon Sep 17 00:00:00 2001 From: Paul Joseph Davis Date: Mon, 9 Nov 2009 00:39:16 +0000 Subject: Fixes 'make distcheck' to run the test suite. Quite a few changes to the build system to handle VPATH builds appropriately as well as make the test suite know about them. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@833951 13f79535-47bb-0310-9956-ffa450edef68 --- src/erlang-oauth/Makefile.am | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/erlang-oauth/Makefile.am') diff --git a/src/erlang-oauth/Makefile.am b/src/erlang-oauth/Makefile.am index c87d7f68..1d123396 100644 --- a/src/erlang-oauth/Makefile.am +++ b/src/erlang-oauth/Makefile.am @@ -16,6 +16,7 @@ oauthebindir = $(localerlanglibdir)/erlang-oauth/ebin # we add a ./configure option to enable it. oauth_file_collection = \ + oauth.app.in \ oauth.erl \ oauth_hmac_sha1.erl \ oauth_http.erl \ @@ -23,9 +24,8 @@ oauth_file_collection = \ oauth_unix.erl \ oauth_uri.erl -oauthebin_static_file = oauth.app - oauthebin_make_generated_file_list = \ + oauth.app \ oauth.beam \ oauth_hmac_sha1.beam \ oauth_http.beam \ @@ -34,15 +34,16 @@ oauthebin_make_generated_file_list = \ oauth_uri.beam oauthebin_DATA = \ - $(oauthebin_static_file) \ - $(oauthebin_make_generated_file_list) + $(oauthebin_make_generated_file_list) -EXTRA_DIST = \ - $(oauth_file_collection) \ - $(oauthebin_static_file) +EXTRA_DIST = \ + $(oauth_file_collection) CLEANFILES = \ $(oauthebin_make_generated_file_list) +%.app: %.app.in + cp $< $@ + %.beam: %.erl $(ERLC) $(ERLC_FLAGS) $< -- cgit v1.2.3