Permalink
Browse files

Move erlydtl.app to ebin/ for rebar compatibility

And update the Makefile accordingly
  • Loading branch information...
evanmiller committed Jun 16, 2010
1 parent dca0f93 commit b14ab9f8ce7aec9420eb3a02ea5ad139527bef8d
Showing with 7 additions and 8 deletions.
  1. +1 −7 Makefile
  2. +6 −1 {src/erlydtl → ebin}/erlydtl.app
View
@@ -2,16 +2,11 @@ ERL=erl
ERLC=erlc
PARSER=src/erlydtl/erlydtl_parser
-APP=erlydtl.app
-all: $(PARSER).erl ebin/$(APP)
+all: $(PARSER).erl
-mkdir -p ebintest
$(ERL) -make
-ebin/$(APP): src/erlydtl/$(APP)
- -mkdir -p ebin
- cp $< $@
-
$(PARSER).erl: $(PARSER).yrl
$(ERLC) -o src/erlydtl src/erlydtl/erlydtl_parser.yrl
@@ -28,7 +23,6 @@ test:
clean:
rm -fv ebin/*.beam
- rm -fv ebin/$(APP)
rm -fv ebintest/*
rm -fv erl_crash.dump $(PARSER).erl
rm -fv examples/rendered_output/*
@@ -14,7 +14,12 @@
erlydtl_parser,
erlydtl_runtime,
erlydtl_scanner,
- erlydtl_unittests
+ erlydtl_unittests,
+ erlydtl_i18n,
+ i18n_manager,
+ po_generator,
+ po_scanner,
+ sources_parser
]},
{applications, [kernel, stdlib]},
{registered, []}

0 comments on commit b14ab9f

Please sign in to comment.