couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [27/29] twig commit: updated refs/heads/import to 2d56280
Date Mon, 03 Feb 2014 22:12:41 GMT
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 <paul.joseph.davis@gmail.com>
Authored: Tue Mar 5 18:11:03 2013 -0600
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
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) $<


Mime
View raw message