You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
536 B

11 years ago
9 years ago
11 years ago
9 years ago
9 years ago
  1. IBROWSE_VSN = $(shell sed -n 's/.*{vsn,.*"\(.*\)"}.*/\1/p' src/ibrowse.app.src)
  2. DIALYZER_PLT=$(CURDIR)/.dialyzer_plt
  3. DIALYZER_APPS=erts kernel stdlib ssl crypto public_key
  4. REBAR ?= $(shell which rebar3)
  5. all: compile
  6. compile:
  7. $(REBAR) compile
  8. clean:
  9. $(REBAR) clean
  10. test:
  11. $(REBAR) eunit
  12. xref: all
  13. $(REBAR) xref
  14. docs:
  15. $(REBAR) edoc
  16. dialyzer:
  17. $(REBAR) dialyzer
  18. install: compile
  19. mkdir -p $(DESTDIR)/lib/ibrowse-$(IBROWSE_VSN)/
  20. cp -r _build/lib/default/ibrowse/ebin $(DESTDIR)/lib/ibrowse-$(IBROWSE_VSN)/
  21. .PHONY: test docs