summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-05-11 16:39:38 +0100
committerSimon MacMullen <simon@rabbitmq.com>2011-05-11 16:39:38 +0100
commitda8c449ef0e34f27a7a4e00958d4b4b2c905c621 (patch)
tree8289924f66ce599d77f0202921cc1733f25c09e2 /Makefile
parentb76b4f03db4e73c40cd62b3a06c8fda18bbec515 (diff)
downloadrabbitmq-server-git-da8c449ef0e34f27a7a4e00958d4b4b2c905c621.tar.gz
Use erl files rather than beam files to generate the app module list.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cdb86aad13..c07c043ee4 100644
--- a/Makefile
+++ b/Makefile
@@ -93,8 +93,8 @@ $(DEPS_FILE): $(SOURCES) $(INCLUDES)
rm -f $@
echo $(subst : ,:,$(foreach FILE,$^,$(FILE):)) | escript generate_deps $@ $(EBIN_DIR)
-$(EBIN_DIR)/rabbit.app: $(EBIN_DIR)/rabbit_app.in $(BEAM_TARGETS) generate_app
- escript generate_app $(EBIN_DIR) $@ < $<
+$(EBIN_DIR)/rabbit.app: $(EBIN_DIR)/rabbit_app.in $(SOURCES) generate_app
+ escript generate_app $(SOURCE_DIR) $@ < $<
$(EBIN_DIR)/%.beam: $(SOURCE_DIR)/%.erl | $(DEPS_FILE)
erlc $(ERLC_OPTS) -pa $(EBIN_DIR) $<