-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
58 lines (51 loc) · 2.31 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
############################################################
# /home/peter/_work/CRISMA-sw/indicators-py/Makefile
# Peter Kutschera, Thu Feb 6 12:42:00 2014
# Time-stamp: "2014-05-21 14:02:21 peter"
#
#
# Copyright (C) 2014 AIT / Austrian Institute of Technology
# http://www.ait.ac.at
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 2 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see http://www.gnu.org/licenses/gpl-2.0.html
#############################################################
WPS_DIR = /usr/local/wps/indicators
WEB_DIR = /home/crisma/public_html/indicators
install: install_wps install_web
install_wps:
@echo "Setup WPS processes"
[ -d $(WPS_DIR) ] || mkdir $(WPS_DIR)
[ -d $(WPS_DIR)/processes ] || mkdir $(WPS_DIR)/processes
install -p wps/pywps.cfg $(WPS_DIR)
install -p wps/processes/__init__.py $(WPS_DIR)/processes
install -p wps/processes/lifeIndicator.py $(WPS_DIR)/processes
install -p wps/processes/deathsIndicator.py $(WPS_DIR)/processes
install -p wps/processes/seriouslyDeterioratedIndicator.py $(WPS_DIR)/processes
install -p wps/processes/improvedIndicator.py $(WPS_DIR)/processes
install -p wps/processes/ICMMtools.py $(WPS_DIR)/processes
install -p wps/processes/OOItools.py $(WPS_DIR)/processes
install -p wps/processes/Indicator.py $(WPS_DIR)/processes
install -p wps/processes/OverallTime.py $(WPS_DIR)/processes
install -p wps/processes/PreTriageTime.py $(WPS_DIR)/processes
install -p wps/processes/TransportationTime.py $(WPS_DIR)/processes
install -p wps/processes/TreatmentTime.py $(WPS_DIR)/processes
install -p wps/processes/TriageTime.py $(WPS_DIR)/processes
install_web:
@echo "Setup web page"
[ -d $(WEB_DIR) ] || mkdir $(WEB_DIR)
cp -rpv web/* $(WEB_DIR)
clean:
rm -rf $(WPS_DIR) $(WEB_DIR)
.PHONY: install clean