diff options
Diffstat (limited to '.rebar/templates/Makefile')
-rw-r--r-- | .rebar/templates/Makefile | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/.rebar/templates/Makefile b/.rebar/templates/Makefile deleted file mode 100644 index dacd2012..00000000 --- a/.rebar/templates/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -all: compile - -compile: - @echo "==> couchjs (compile)" - @cd couchjs && python scons/scons.py - @./rebar compile - -clean: - @echo "==> couchjs (clean)" - @cd couchjs && python scons/scons.py --clean - @./rebar clean - -check: - @./rebar eunit - @ERL_LIBS="`pwd`/apps" prove apps/couch/test/etap/*.t - -dist: compile - @rm -rf rel/dbcore - @./rebar generate - @mkdir -p rel/dbcore/var/share/server - @cp couchjs/build/main.js rel/dbcore/var/share/server/ - @cp couchjs/build/couchjs rel/dbcore/bin/ - -distclean: clean - @rm -rf rel/dbcore - @rm -f rel/overlay/etc/default.ini - -install: dist - @mkdir -p {{prefix}}/dbcore/ - @cp -R rel/dbcore/* {{prefix}}/dbcore/ - @mkdir -p {{data_dir}} - @chown {{user}} {{data_dir}} - @mkdir -p {{view_dir}} - @chown {{user}} {{view_dir}} |