minor fixes and enhancements to the makefile

Signed-off-by: Jordan Wilberding <diginux@gmail.com>
This commit is contained in:
Eric Merritt 2012-09-08 09:02:12 -05:00
parent 4db670c812
commit 67acaaaf3f

View file

@ -14,9 +14,9 @@ endif
ERLWARE_COMMONS_PLT=$(CURDIR)/.erlware_commons_plt ERLWARE_COMMONS_PLT=$(CURDIR)/.erlware_commons_plt
.PHONY: all compile doc clean eunit dialyzer typer shell distclean pdf get-deps escript .PHONY: all compile doc clean test dialyzer typer shell distclean pdf get-deps escript
all: compile eunit dialyzer all: compile test dialyzer
get-deps: get-deps:
$(REBAR) get-deps $(REBAR) get-deps
@ -28,7 +28,7 @@ compile:
doc: compile doc: compile
$(REBAR) skip_deps=true doc $(REBAR) skip_deps=true doc
eunit: compile test: compile
$(REBAR) skip_deps=true eunit $(REBAR) skip_deps=true eunit
$(ERLWARE_COMMONS_PLT): $(ERLWARE_COMMONS_PLT):
@ -53,11 +53,11 @@ shell: compile
@$(ERL) $(ERLFLAGS) @$(ERL) $(ERLFLAGS)
clean: clean:
$(REBAR) clean $(REBAR) skip_deps=true clean
rm $(CURDIR)/doc/*.html - rm $(CURDIR)/doc/*.html
rm $(CURDIR)/doc/*.css - rm $(CURDIR)/doc/*.css
rm $(CURDIR)/doc/*.png - rm $(CURDIR)/doc/*.png
rm $(CURDIR)/doc/edoc-info - rm $(CURDIR)/doc/edoc-info
distclean: clean distclean: clean
rm -rf $(ERLWARE_COMMONS_PLT) rm -rf $(ERLWARE_COMMONS_PLT)