Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0930D10FBF for ; Mon, 3 Feb 2014 22:13:23 +0000 (UTC) Received: (qmail 4369 invoked by uid 500); 3 Feb 2014 22:12:51 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 3383 invoked by uid 500); 3 Feb 2014 22:12:26 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 2853 invoked by uid 99); 3 Feb 2014 22:12:17 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 22:12:17 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 6727A918A01; Mon, 3 Feb 2014 22:12:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davisp@apache.org To: commits@couchdb.apache.org Date: Mon, 03 Feb 2014 22:12:41 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [27/29] twig commit: updated refs/heads/import to 2d56280 New build system for twig Project: http://git-wip-us.apache.org/repos/asf/couchdb-twig/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-twig/commit/8e12c7e6 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-twig/tree/8e12c7e6 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-twig/diff/8e12c7e6 Branch: refs/heads/import Commit: 8e12c7e669279bed80916d7b7e7b137f9ba4e7d5 Parents: fcb9093 Author: Paul J. Davis Authored: Tue Mar 5 18:11:03 2013 -0600 Committer: Paul J. Davis Committed: Fri Jan 17 14:04:33 2014 -0800 ---------------------------------------------------------------------- Makefile.am | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-twig/blob/8e12c7e6/Makefile.am ---------------------------------------------------------------------- diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..8832ce1 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,49 @@ +## Licensed under the Apache License, Version 2.0 (the "License"); you may not +## use this file except in compliance with the License. You may obtain a copy +## of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +## WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +## License for the specific language governing permissions and limitations under +## the License. + +twigebindir = $(localerlanglibdir)/twig/ebin + +twigebin_DATA = $(compiled_files) + +include_files = \ + twig_int.hrl + +source_files = \ + src/twig.app.src \ + src/twig.erl \ + src/twig_app.erl \ + src/twig_event_handler.erl \ + src/twig_monitor.erl \ + src/twig_sup.erl \ + src/twig_util.erl \ + src/trunc_io.erl + +compiled_files = \ + ebin/twig.app \ + ebin/twig.beam \ + ebin/twig_app.beam \ + ebin/twig_event_handler.beam \ + ebin/twig_monitor.beam \ + ebin/twig_sup.beam \ + ebin/twig_util.beam \ + ebin/trunc_io.beam + +EXTRA_DIST = $(include_files) $(source_files) +CLEANFILES = $(compiled_files) + +ebin/%.app: src/%.app.src + @mkdir -p ebin/ + sed -e "s|%version%|@version@|g" < $< > $@ + +ebin/%.beam: src/%.erl + @mkdir -p ebin/ + $(ERLC) -Wall -I$(top_srcdir)/src -o ebin/ $(ERLC_FLAGS) $<