root/trunk/configs/fedora/Makefile

Revision 1118, 2.0 kB (checked in by rats, 8 months ago)

2nd ω-fix

Line 
1 #!/usr/bin/make -f
2 #
3 # ispCP ω (OMEGA) a Virtual Hosting Control Panel
4 # Copyright (c) 2001-2006 by moleSoftware GmbH
5 # http://www.molesoftware.com
6 # Copyright (c) 2006-2008 by isp Control Panel
7 # http://isp-control.net
8 #
9 #
10 # License:
11 #    This program is free software; you can redistribute it and/or
12 #    modify it under the terms of the MPL Mozilla Public License
13 #    as published by the Free Software Foundation; either version 1.1
14 #    of the License, or (at your option) any later version.
15 #
16 #    This program is distributed in the hope that it will be useful,
17 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
18 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 #    MPL Mozilla Public License for more details.
20 #
21 #    You may have received a copy of the MPL Mozilla Public License
22 #    along with this program.
23 #
24 #    An on-line copy of the MPL Mozilla Public License can be found
25 #    http://www.mozilla.org/MPL/MPL-1.1.html
26 #
27 #
28 # The ispCP ω Home Page is at:
29 #
30 #    http://isp-control.net
31 #
32
33 export
34
35 install:
36         if test $(HOST_OS) = fedora ; then \
37                 cp ./ispcp.conf $(SYSTEM_CONF) ; \
38                 (cd ./apache && $(MAKE) install &); \
39                 (cd ./awstats && $(MAKE) install &); \
40                 (cd ./bind && $(MAKE) install &); \
41                 (cd ./cron.d && $(MAKE) install &); \
42                 (cd ./database && $(MAKE) install &);  \
43                 (cd ./fcgi && $(MAKE) install &); \
44                 (cd ./init.d && $(MAKE) install &); \
45                 (cd ./postfix && $(MAKE) install &); \
46                 (cd ./courier && $(MAKE) install &); \
47                 (cd ./proftpd && $(MAKE) install &); \
48                 (cd ./logrotate && $(MAKE) install); \
49         fi
50
51 uninstall:
52         if test $(HOST_OS) = fedora ; then \
53                 rm -rf $(SYSTEM_CONF)/ispcp.conf ;  \
54                 (cd ./apache && $(MAKE) uninstall &); \
55                 (cd ./awstats && $(MAKE) uninstall &); \
56                 (cd ./bind && $(MAKE) uninstall &); \
57                 (cd ./cron.d && $(MAKE) uninstall &); \
58                 (cd ./database && $(MAKE) uninstall &); \
59                 (cd ./init.d && $(MAKE) uninstall &); \
60                 (cd ./postfix && $(MAKE) uninstall &); \
61                 (cd ./courier && $(MAKE) uninstall &); \
62                 (cd ./proftpd && $(MAKE) uninstall &); \
63                 (cd ./logrotate && $(MAKE) uninstall &); \
64         fi
Note: See TracBrowser for help on using the browser.