Fix two doctests: addresses.txt and mlist-addresses.txt
[mailman.git] / Mailman / tests / Makefile.in
blob1326f67e56a73357420dbcbc3042be7f88e15367
1 # Copyright (C) 1998-2007 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.
7 #
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
16 # USA.
18 # NOTE: Makefile.in is converted into Makefile by the configure script
19 # in the parent directory. Once configure has run, you can recreate
20 # the Makefile by running just config.status.
22 # Variables set by configure
24 VPATH= @srcdir@
25 srcdir= @srcdir@
26 bindir= @bindir@
27 prefix= @prefix@
28 exec_prefix= @exec_prefix@
29 DESTDIR=
31 CC= @CC@
32 CHMOD= @CHMOD@
33 INSTALL= @INSTALL@
35 DEFS= @DEFS@
37 # Customizable but not set by configure
39 OPT= @OPT@
40 CFLAGS= $(OPT) $(DEFS)
41 PACKAGEDIR= $(prefix)/Mailman/testing
42 SHELL= /bin/sh
44 MODULES= *.py
45 OTHERFILES= testing.cfg.in
47 # Modes for directories and executables created by the install
48 # process. Default to group-writable directories but
49 # user-only-writable for executables.
50 DIRMODE= 775
51 EXEMODE= 755
52 FILEMODE= 644
53 INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
55 # Directories make should decend into
56 SUBDIRS= bounces
58 # Rules
60 all:
62 install:
63 for f in $(MODULES) $(OTHERFILES); \
64 do \
65 $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
66 done
67 for d in $(SUBDIRS); \
68 do \
69 (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \
70 done
72 finish:
74 clean:
76 distclean:
77 -rm *.pyc
78 -rm Makefile
79 @for d in $(SUBDIRS); \
80 do \
81 (cd $$d; $(MAKE) distclean); \
82 done