#Makefile for city project data website
#Created by ZMB 4/3/2001
#The default target is a development version of the website. To create a release version run make as follows: "make release". This
#makefile is just a skeleton for the make and "make release" commands.  The rules for building the sources are in the makefile "main.mk".

#paths:
www_rel_deploy_root = data
java_rel_options = -g:none

all :
	make -f main.mk env=dev

.PHONY : release
release : $(www_rel_deploy_root)
	make -f main.mk env=rel www_root_deploy=$(www_rel_deploy_root) java_options=$(java_rel_options)

#ensure that the release directory exists:
$(www_rel_deploy_root) :
	mkdir $(www_rel_deploy_root)

#clean (development)
.PHONY : clean
clean :
	make -f main.mk clean

#clean (release)
.PHONY : clean_release
clean_release :
	make -f main.mk clean env=rel www_root_deploy=$(www_rel_deploy_root)

#clean (java)
.PHONY : clean_java
clean_java :
	make -f main.mk clean_java

#clean (node viewers)
.PHONY : clean_NodeVR
clean_NodeVR : 
	make -f main.mk clean_NodeVR
