]> git.saurik.com Git - redis.git/blame - client-libraries/erlang/Makefile
FLUSHALL/FLUSHDB no longer sync on disk. Just increment the dirty counter by the...
[redis.git] / client-libraries / erlang / Makefile
CommitLineData
ed9b544e 1LIBDIR=`erl -eval 'io:format("~s~n", [code:lib_dir()])' -s init stop -noshell`
2
3all:
4 mkdir -p ebin/
5 (cd src;$(MAKE))
6 (cd test;$(MAKE))
7
8clean: clean_tests
9 (cd src;$(MAKE) clean)
10 rm -rf erl_crash.dump *.beam
11
12clean_tests:
13 (cd test;$(MAKE) clean)
14 rm -rf erl_crash.dump *.beam
15
16test: clean
17 mkdir -p ebin/
18 (cd src;$(MAKE))
19 (cd test;$(MAKE))
20 (cd test;$(MAKE) test)
21
22testrun: all
23 mkdir -p ebin/
24 (cd test;$(MAKE) test)
25
26install: all
27 mkdir -p ${LIBDIR}/erldis-0.0.1/{ebin,include}
28 for i in ebin/*.beam; do install $$i $(LIBDIR)/erldis-0.0.1/$$i ; done
29 for i in include/*.hrl; do install $$i $(LIBDIR)/erldis-0.0.1/$$i ; done