| 1 | # |
|---|
| 2 | # $Id: Makefile,v 1.20 2005/05/21 16:07:32 arnaud-lb Exp $ |
|---|
| 3 | # ---------------------------------------------------------------------- |
|---|
| 4 | # AlternC - Web Hosting System |
|---|
| 5 | # Copyright (C) 2002 by the AlternC Development Team. |
|---|
| 6 | # http://alternc.org/ |
|---|
| 7 | # ---------------------------------------------------------------------- |
|---|
| 8 | # Based on: |
|---|
| 9 | # Valentin Lacambre's web hosting softwares: http://altern.org/ |
|---|
| 10 | # ---------------------------------------------------------------------- |
|---|
| 11 | # LICENSE |
|---|
| 12 | # |
|---|
| 13 | # This program is free software; you can redistribute it and/or |
|---|
| 14 | # modify it under the terms of the GNU General Public License (GPL) |
|---|
| 15 | # as published by the Free Software Foundation; either version 2 |
|---|
| 16 | # of the License, or (at your option) any later version. |
|---|
| 17 | # |
|---|
| 18 | # This program is distributed in the hope that it will be useful, |
|---|
| 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 21 | # GNU General Public License for more details. |
|---|
| 22 | # |
|---|
| 23 | # To read the license please visit http://www.gnu.org/copyleft/gpl.html |
|---|
| 24 | # ---------------------------------------------------------------------- |
|---|
| 25 | # Purpose of file: Makefile des binaires de /usr/lib/alternc |
|---|
| 26 | # ---------------------------------------------------------------------- |
|---|
| 27 | # |
|---|
| 28 | SETUID=mail_add mail_del quota_edit quota_get mem_add mem_del |
|---|
| 29 | SCRIPTS=quota_edit.sh quota_get.sh sqlbackup.sh rawstat.daily quota_init quota_delete update_domains.sh slave_dns sendmail spoolsize.php fixperms.sh alternc-dboptimize |
|---|
| 30 | LIBS=functions.sh functions_hosting.sh functions_dns.sh |
|---|
| 31 | BIN=$(DESTDIR)/usr/lib/alternc/ |
|---|
| 32 | |
|---|
| 33 | install: |
|---|
| 34 | # Group 1999 references alterncpanel |
|---|
| 35 | chown root:1999 $(BIN) |
|---|
| 36 | chmod 755 $(BIN) |
|---|
| 37 | install -o root -g 1999 -m4750 $(SETUID) du.pl $(BIN) |
|---|
| 38 | install -o root -g 1999 -m0750 $(SCRIPTS) $(BIN) |
|---|
| 39 | install -o root -g 1999 -m0644 $(LIBS) $(BIN) |
|---|