3 # ispCP ω (OMEGA) a Virtual Hosting Control Panel
4 # Copyright (C) 2001-2006 by moleSoftware GmbH - http://www.molesoftware.com
5 # Copyright (C) 2006-2010 by isp Control Panel - http://ispcp.net
7 # Version: $Id: Makefile.centos 3422 2010-10-07 13:32:14Z nuxwin $
9 # The contents of this file are subject to the Mozilla Public License
10 # Version 1.1 (the "License"); you may not use this file except in
11 # compliance with the License. You may obtain a copy of the License at
12 # http://www.mozilla.org/MPL/
14 # Software distributed under the License is distributed on an "AS IS"
15 # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
16 # License for the specific language governing rights and limitations
19 # The Original Code is "VHCS - Virtual Hosting Control System".
21 # The Initial Developer of the Original Code is moleSoftware GmbH.
22 # Portions created by Initial Developer are Copyright (C) 2001-2006
23 # by moleSoftware GmbH. All Rights Reserved.
24 # Portions created by the ispCP Team are Copyright (C) 2006-2010 by
25 # isp Control Panel. All Rights Reserved.
27 # The ispCP ω Home Page is:
29 # http://isp-control.net
34 SYSTEM_MAKE_DIRS
=/bin
/mkdir
-p
35 SYSTEM_MAKE_FILE
=/bin
/touch
41 ROOT_CONF
=$(INST_PREF
)/etc
43 SYSTEM_CONF
=$(INST_PREF
)/etc
/ispcp
45 SYSTEM_FCGI
=$(INST_PREF
)/srv
/http
/fcgi
46 SYSTEM_ROOT
=$(INST_PREF
)/srv
/http
/ispcp
47 SYSTEM_VIRTUAL
=$(INST_PREF
)/srv
/http
/virtual
48 SYSTEM_AWSTATS
=$(INST_PREF
)/srv
/http
/awstats
49 SYSTEM_SCOREBOARDS
=$(INST_PREF
)/srv
/http
/scoreboards
51 SYSTEM_LOG
=$(INST_PREF
)/var
/log
/ispcp
52 SYSTEM_APACHE_BACK_LOG
=$(INST_PREF
)/var
/log
/httpd
/backup
53 SYSTEM_MAIL_VIRTUAL
=$(INST_PREF
)/var
/mail
/virtual
59 cd .
/tools
&& $(MAKE
) install
61 $(SYSTEM_MAKE_DIRS
) $(SYSTEM_CONF
)
62 $(SYSTEM_MAKE_DIRS
) $(SYSTEM_ROOT
)
63 $(SYSTEM_MAKE_DIRS
) $(SYSTEM_LOG
)
64 $(SYSTEM_MAKE_DIRS
) $(SYSTEM_LOG
)/ispcp-arpl-msgr
65 $(SYSTEM_MAKE_DIRS
) $(SYSTEM_VIRTUAL
)
66 $(SYSTEM_MAKE_DIRS
) $(SYSTEM_FCGI
)
67 $(SYSTEM_MAKE_DIRS
) $(SYSTEM_SCOREBOARDS
)
68 $(SYSTEM_MAKE_DIRS
) $(SYSTEM_AWSTATS
)
69 $(SYSTEM_MAKE_DIRS
) $(SYSTEM_MAIL_VIRTUAL
)
70 $(SYSTEM_MAKE_DIRS
) $(SYSTEM_APACHE_BACK_LOG
)
72 cd .
/configs
&& $(MAKE
) install
73 cd .
/engine
&& $(MAKE
) install
74 cd .
/maintscripts
&& $(MAKE
) install
75 cd .
/gui
&& $(MAKE
) install
76 cd .
/keys
&& $(MAKE
) install
80 cd .
/tools
&& $(MAKE
) uninstall
81 cd .
/configs
&& $(MAKE
) uninstall
82 cd .
/maintscripts
&& $(MAKE
) uninstall
83 cd .
/engine
&& $(MAKE
) uninstall
84 cd .
/gui
&& $(MAKE
) uninstall
85 cd .
/keys
&& $(MAKE
) uninstall
90 rm -rf
$(SYSTEM_VIRTUAL
)
92 rm -rf
$(SYSTEM_SCOREBOARDS
)
93 rm -rf
$(SYSTEM_MAIL_VIRTUAL
)
94 rm -rf
$(SYSTEM_APACHE_BACK_LOG
)
98 cd .
/tools
/daemon
&& $(MAKE
) clean
101 .PHONY
: install uninstall clean