~ubuntu-branches/ubuntu/hoary/mailman/hoary-security

« back to all changes in this revision

Viewing changes to Mailman/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2004-10-11 02:02:43 UTC
  • Revision ID: james.westby@ubuntu.com-20041011020243-ukiishnhlkmsoh21
Tags: upstream-2.1.5
ImportĀ upstreamĀ versionĀ 2.1.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 1998-2003 by the Free Software Foundation, Inc.
 
2
#
 
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.
 
12
 
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.
 
16
 
 
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.
 
20
 
 
21
# Variables set by configure
 
22
 
 
23
VERSION=        @VERSION@
 
24
 
 
25
VPATH=          @srcdir@
 
26
srcdir=         @srcdir@
 
27
bindir=         @bindir@
 
28
prefix=         @prefix@
 
29
exec_prefix=    @exec_prefix@
 
30
DESTDIR=
 
31
 
 
32
CC=             @CC@
 
33
CHMOD=          @CHMOD@
 
34
INSTALL=        @INSTALL@
 
35
 
 
36
DEFS=           @DEFS@
 
37
 
 
38
# Customizable but not set by configure
 
39
 
 
40
OPT=            @OPT@
 
41
CFLAGS=         $(OPT) $(DEFS)
 
42
PACKAGEDIR=     $(prefix)/Mailman
 
43
SHELL=          /bin/sh
 
44
 
 
45
MODULES=        $(srcdir)/*.py
 
46
SUBDIRS=        Cgi Logging Archiver Handlers Bouncers Queue MTA Gui Commands
 
47
 
 
48
# Modes for directories and executables created by the install
 
49
# process.  Default to group-writable directories but
 
50
# user-only-writable for executables.
 
51
DIRMODE=        775
 
52
EXEMODE=        755
 
53
FILEMODE=       644
 
54
INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
 
55
 
 
56
 
 
57
# Rules
 
58
 
 
59
all:
 
60
        for d in $(SUBDIRS); \
 
61
        do \
 
62
            (cd $$d; $(MAKE)); \
 
63
        done
 
64
 
 
65
install-here: 
 
66
        for f in $(MODULES); \
 
67
        do \
 
68
            $(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(PACKAGEDIR); \
 
69
        done
 
70
        $(INSTALL) -m $(FILEMODE) mm_cfg.py.dist $(DESTDIR)$(PACKAGEDIR)
 
71
        if [ ! -f $(DESTDIR)$(PACKAGEDIR)/mm_cfg.py ]; \
 
72
        then \
 
73
            $(INSTALL) -m $(FILEMODE) mm_cfg.py.dist $(DESTDIR)$(PACKAGEDIR)/mm_cfg.py; \
 
74
        fi
 
75
 
 
76
install: install-here
 
77
        for d in $(SUBDIRS); \
 
78
        do \
 
79
            (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \
 
80
        done
 
81
 
 
82
finish:
 
83
        @for d in $(SUBDIRS); \
 
84
        do \
 
85
            (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) finish); \
 
86
        done
 
87
 
 
88
clean:
 
89
        for d in $(SUBDIRS); \
 
90
        do \
 
91
            (cd $$d; $(MAKE) clean); \
 
92
        done
 
93
 
 
94
distclean:
 
95
        -rm Makefile Defaults.py mm_cfg.py.dist
 
96
        -rm *.pyc
 
97
        for d in $(SUBDIRS); \
 
98
        do \
 
99
            (cd $$d; $(MAKE) distclean); \
 
100
        done