diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,14 +1,17 @@ +# Makefile for catlfish + PREFIX=rel build all: ./make.erl + clean: -rm ebin/*.beam + release: all rm -rf $(PREFIX) mkdir $(PREFIX) - ./makerelease.erl - mkdir $(PREFIX)/catlfish + ./makerelease.erl $(PREFIX) -include test/test.mk @@ -27,12 +30,12 @@ tests-prepare: cp -r test/config/privatekeys $(PREFIX)/tests cp -r test/config/publickeys $(PREFIX)/tests @for machine in $(MACHINES); do \ - (cd $(PREFIX); ../tools/compileconfig.py --config=../test/catlfish-test.cfg --localconfig ../test/catlfish-test-local-$$machine.cfg) ; \ + tools/compileconfig.py --config=test/catlfish-test.cfg --localconfig test/catlfish-test-local-$$machine.cfg ; \ mkdir -p $(PREFIX)/tests/machine/machine-$$machine/db ; \ touch $(PREFIX)/tests/machine/machine-$$machine/db/index ; \ touch $(PREFIX)/tests/machine/machine-$$machine/db/newentries ; \ done - (cd $(PREFIX); ../tools/compileconfig.py --config=../test/catlfish-test.cfg --localconfig ../test/catlfish-test-local-signing.cfg) + tools/compileconfig.py --config test/catlfish-test.cfg --localconfig test/catlfish-test-local-signing.cfg @for node in $(NODES); do \ mkdir -p test/nodes/$$node/log ; \ done |