summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/couchdb/Makefile.am2
-rw-r--r--src/mochiweb/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/Makefile.am b/src/couchdb/Makefile.am
index c7a30cac..92cdc0b2 100644
--- a/src/couchdb/Makefile.am
+++ b/src/couchdb/Makefile.am
@@ -82,7 +82,7 @@ couch.app: couch.app.tpl
chmod +x $@
%.beam: %.erl
- erlc $<
+ $(ERLC) $<
install-data-hook:
if test -f "$(DESTDIR)/$(couchprivlibdir)/couch_erl_driver"; then \
diff --git a/src/mochiweb/Makefile.am b/src/mochiweb/Makefile.am
index aa7a670a..7dde7497 100644
--- a/src/mochiweb/Makefile.am
+++ b/src/mochiweb/Makefile.am
@@ -78,4 +78,4 @@ CLEANFILES = \
$(mochiwebebin_make_generated_file_list)
%.beam: %.erl
- erlc $<
+ $(ERLC) $<