summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 51fd786..87165b5 100644
--- a/Makefile
+++ b/Makefile
@@ -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
@@ -25,12 +28,12 @@ tests-prepare:
mkdir $(PREFIX)/tests/known_roots
cp tools/testcerts/roots/* $(PREFIX)/tests/known_roots
@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
mkdir $(PREFIX)/tests/privatekeys
mkdir $(PREFIX)/tests/publickeys
@for node in $(NODES); do \