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.

20 lines
464 B

14 years ago
14 years ago
  1. IBROWSE_VSN = $(shell sed -n 's/.*{vsn,.*"\(.*\)"}.*/\1/p' src/ibrowse.app.src)
  2. all:
  3. ./rebar compile
  4. clean:
  5. ./rebar clean
  6. install: all
  7. mkdir -p $(DESTDIR)/lib/ibrowse-$(IBROWSE_VSN)/
  8. cp -r ebin $(DESTDIR)/lib/ibrowse-$(IBROWSE_VSN)/
  9. test: all
  10. ./rebar eunit
  11. (cd test; make)
  12. erl -noshell -pa ebin -pa test -s ibrowse -s ibrowse_test unit_tests \
  13. -s ibrowse_test verify_chunked_streaming \
  14. -s ibrowse_test test_chunked_streaming_once \
  15. -s erlang halt