Install now copies rfc4627 app to the server

This commit is contained in:
Ben Hood 2009-07-15 12:04:34 +01:00
parent a5d648c76d
commit 7f07cf5b71
1 changed files with 3 additions and 2 deletions

View File

@ -89,9 +89,10 @@ package: $(DIST_DIR)/$(PACKAGE_NAME)
package_tests: $(DIST_DIR)/$(TEST_PACKAGE_NAME)
install: package $(DEPS_DIR)/$(LIB_PACKAGE_NAME)
install: clean package $(DEPS_DIR)/$(LIB_PACKAGE_NAME) $(JSON_APP)/$(JSON_APP_ARCHIVE)
mkdir -p $(PLUGINS_DIR)
mkdir -p $(PLUGINS_LIB_DIR)
cp $(JSON_APP)/$(JSON_APP_ARCHIVE) $(PLUGINS_DIR)
cp $(DIST_DIR)/$(PACKAGE_NAME) $(PLUGINS_DIR)
cp $(DEPS_DIR)/$(LIB_PACKAGE_NAME) $(PLUGINS_LIB_DIR)
@ -106,4 +107,4 @@ $(JSON_APP)/$(JSON_APP_ARCHIVE): $(JSON_APP)
test: package package_tests $(JSON_APP)/$(JSON_APP_ARCHIVE)
$(ERL) -s crypto -s mod_http -eval \
'application:start(rfc4627_jsonrpc),application:start(mod_http_test)'