You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
438 B
23 lines
438 B
|
|
.PHONY: all back front install
|
|
|
|
all: back front
|
|
|
|
back:
|
|
cd backend && ${MAKE}
|
|
|
|
front:
|
|
cd frontend && ${MAKE}
|
|
|
|
@public_dir@:
|
|
cd frontend && ${MAKE} install
|
|
|
|
@nginx_config@: m4/environment.m4 nginx/yacswa.conf.m4
|
|
m4 m4/environment.m4 nginx/yacswa.conf.m4 > @nginx_config@
|
|
|
|
install: @public_dir@ @nginx_config@
|
|
|
|
up: install
|
|
sudo $(LN_S) /etc/nginx/sites_available/yacswa.conf /etc/nginx/sites_enabled/
|
|
cd backend && ${MAKE} up
|