summaryrefslogtreecommitdiff
path: root/Makefile
blob: aa962901151463364fcace00a430470f0189e3b8 (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 -pa ../lager/ebin -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