Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merged bug21410 into default

  • Loading branch information...
commit 660a7762525e78403da20d0371c6379ed7f1b92f 2 parents 7add9c9 + 6a0fd41
Ben Hood authored August 18, 2009

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. 7  Makefile
7  Makefile
@@ -18,7 +18,7 @@ else
18 18
 SED=sed
19 19
 endif
20 20
 
21  
-all: $(TARGETS)
  21
+all: package
22 22
 
23 23
 $(EBIN_DIR)/%.beam: $(SOURCE_DIR)/%.erl $(EBIN_DIR) $(INCLUDES)
24 24
 	erlc $(ERLC_OPTS) $<
@@ -34,11 +34,12 @@ clean:
34 34
 cleandoc:
35 35
 	rm -f doc/*
36 36
 
37  
-dist: all
  37
+dist: $(TARGETS)
38 38
 	mkdir -p $(DIST_DIR)
39 39
 	cp -r doc ebin include src test Makefile $(DIST_DIR)
40 40
 
41  
-package: dist
  41
+package: $(DIST_DIR)/$(PACKAGE).ez
  42
+$(DIST_DIR)/$(PACKAGE).ez: $(TARGETS) dist
42 43
 	mkdir -p $(DIST_DIR)/$(PACKAGE_NAME)
43 44
 	cp -r  $(DIST_DIR)/$(EBIN_DIR) $(DIST_DIR)/$(PACKAGE_NAME)
44 45
 	(cd $(DIST_DIR); zip -r $(EZ_NAME) $(PACKAGE_NAME))

0 notes on commit 660a776

Please sign in to comment.
Something went wrong with that request. Please try again.