Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (31 sloc) 1.384 kB
# main makefile for engage
ifndef ENGAGE_CODE_HOME
ENGAGE_CODE_HOME=$(shell pwd)
export ENGAGE_CODE_HOME
endif
all: config-engine download-packages
help:
@echo "targets are all config-engine download-packages test docs clean clean-all"
config-engine:
cd $(ENGAGE_CODE_HOME)/config_src; make all
download-packages:
mkdir -p $(ENGAGE_CODE_HOME)/sw_packages
$(ENGAGE_CODE_HOME)/buildutils/pkgmgr.py -t $(ENGAGE_CODE_HOME)/sw_packages -p $(ENGAGE_CODE_HOME)/buildutils/packages.json group Engage Engage-public Django
test: config-engine download-packages
rm -rf $(ENGAGE_CODE_HOME)/test_output
mkdir $(ENGAGE_CODE_HOME)/test_output
cd $(ENGAGE_CODE_HOME)/buildutils; python test_engage.py
docs:
@if [[ `which sphinx-build` == "" ]]; then echo "Need to install Sphinx before building docs"; exit 1; fi
cd $(ENGAGE_CODE_HOME)/docs/users_guide; make html
cd $(ENGAGE_CODE_HOME)/docs/dev_guide; make html
clean:
cd $(ENGAGE_CODE_HOME)/config_src; make clean
rm -rf $(ENGAGE_CODE_HOME)/test_output
cd $(ENGAGE_CODE_HOME)/docs/users_guide; make clean
cd $(ENGAGE_CODE_HOME)/docs/dev_guide; make clean
cd $(ENGAGE_CODE_HOME)/python_pkg; rm -rf ./build ./dist ./engage.egg-info
# The clean-all target also deletes the downloaded packages
clean-all: clean
rm -rf $(ENGAGE_CODE_HOME)/sw_packages
.PHONY: all config-engine clean clean-all download-packages docs help test
Jump to Line
Something went wrong with that request. Please try again.