summaryrefslogtreecommitdiff
path: root/Makefile
blob: 78f8a6b4ab231c58bd76d9ee9777c70b7386765c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
	mkdir rel/catlfish
	mkdir rel/db
	printf "0" > rel/db/treesize
	cp -r webroot rel/catlfish
	test -d rel/catlfish/webroot/log || mkdir rel/catlfish/webroot/log