1
# Copyright (C) 1998-2003 by the Free Software Foundation, Inc.
3
# This program is free software; you can redistribute it and/or
4
# modify it under the terms of the GNU General Public License
5
# as published by the Free Software Foundation; either version 2
6
# of the License, or (at your option) any later version.
8
# This program is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
# GNU General Public License for more details.
13
# You should have received a copy of the GNU General Public License
14
# along with this program; if not, write to the Free Software
15
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
# NOTE: Makefile.in is converted into Makefile by the configure script
18
# in the parent directory. Once configure has run, you can recreate
19
# the Makefile by running just config.status.
21
# Variables set by configure
29
exec_prefix= @exec_prefix@
38
# Customizable but not set by configure
41
CFLAGS= $(OPT) $(DEFS)
42
PACKAGEDIR= $(prefix)/Mailman
45
MODULES= $(srcdir)/*.py
46
SUBDIRS= Cgi Logging Archiver Handlers Bouncers Queue MTA Gui Commands
48
# Modes for directories and executables created by the install
49
# process. Default to group-writable directories but
50
# user-only-writable for executables.
54
INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
60
for d in $(SUBDIRS); \
66
for f in $(MODULES); \
68
$(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(PACKAGEDIR); \
70
$(INSTALL) -m $(FILEMODE) mm_cfg.py.dist $(DESTDIR)$(PACKAGEDIR)
71
if [ ! -f $(DESTDIR)$(PACKAGEDIR)/mm_cfg.py ]; \
73
$(INSTALL) -m $(FILEMODE) mm_cfg.py.dist $(DESTDIR)$(PACKAGEDIR)/mm_cfg.py; \
77
for d in $(SUBDIRS); \
79
(cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \
83
@for d in $(SUBDIRS); \
85
(cd $$d; $(MAKE) DESTDIR=$(DESTDIR) finish); \
89
for d in $(SUBDIRS); \
91
(cd $$d; $(MAKE) clean); \
95
-rm Makefile Defaults.py mm_cfg.py.dist
97
for d in $(SUBDIRS); \
99
(cd $$d; $(MAKE) distclean); \