summaryrefslogtreecommitdiff
path: root/Makefile
blob: e084ab572d9c3cec4525a46dcbf8858f2de1a93d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
build all:
	erl -make
clean:
	-rm ebin/*.beam
release:
	rm -rf rel
	mkdir rel
	./makerelease.erl
	(cd rel; \
		ln -s ../../plop/test .)
	cp httpd_props.conf rel
	cp catlfish.config rel
	cp storage_node.config rel
	cp storage_node_httpd.conf rel
	mkdir rel/catlfish
	mkdir rel/db
	mkdir rel/mergedb
	mkdir rel/mergedb/chains
	touch rel/mergedb/logorder
	printf "0" > rel/db/treesize
	cp -r webroot rel/catlfish
	test -d rel/catlfish/webroot/log || mkdir rel/catlfish/webroot/log