File: Makefile.in

package info (click to toggle)
mailman 1:2.1.18-2+deb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 38,432 kB
  • sloc: python: 25,570; perl: 2,219; makefile: 1,117; sh: 882; ansic: 319
file content (126 lines) | stat: -rw-r--r-- 3,411 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Copyright (C) 1998-2005 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

# NOTE: Makefile.in is converted into Makefile by the configure script
# in the parent directory.  Once configure has run, you can recreate
# the Makefile by running just config.status.

# Variables set by configure

VPATH=		@srcdir@
srcdir= 	@srcdir@
bindir= 	@bindir@
prefix=   	@prefix@
exec_prefix=	@exec_prefix@
DESTDIR=

CC=		@CC@
CHMOD=  	@CHMOD@
INSTALL=	@INSTALL@
TRUE=		@TRUE@

DEFS=   	@DEFS@

# Customizable but not set by configure

OPT=		@OPT@
CFLAGS=		$(OPT) $(DEFS)
TEMPLATEDIR= 	$(prefix)/templates

SHELL=		/bin/sh

LANGUAGES=	ar ast ca cs da de el en es et eu fa fi fr gl he hr hu ia it \
		ja ko lt nl no pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN \
		zh_TW

# Modes for directories and executables created by the install
# process.  Default to group-writable directories but
# user-only-writable for executables.
DIRMODE=	775
EXEMODE=	755
FILEMODE=	644
INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)


# Rules

all:

install:
	# charsets taken from Mailman/Defaults.py.in (all calls to add_language)
	# except gl which pretends to be utf-8 but isn’t (except one file which we patch)
	CHARSET_ar=utf-8; \
	CHARSET_ast=iso-8859-1; \
	CHARSET_ca=utf-8; \
	CHARSET_cs=iso-8859-2; \
	CHARSET_da=iso-8859-1; \
	CHARSET_de=iso-8859-1; \
	CHARSET_en=us-ascii; \
	CHARSET_es=iso-8859-1; \
	CHARSET_et=iso-8859-15; \
	CHARSET_eu=iso-8859-15; \
	CHARSET_fa=utf-8; \
	CHARSET_fi=iso-8859-1; \
	CHARSET_fr=iso-8859-1; \
	CHARSET_gl=iso-8859-1; \
	CHARSET_el=iso-8859-7; \
	CHARSET_he=utf-8; \
	CHARSET_hr=iso-8859-2; \
	CHARSET_hu=iso-8859-2; \
	CHARSET_ia=iso-8859-15; \
	CHARSET_it=iso-8859-1; \
	CHARSET_ja=euc-jp; \
	CHARSET_ko=euc-kr; \
	CHARSET_lt=iso-8859-13; \
	CHARSET_nl=iso-8859-1; \
	CHARSET_no=iso-8859-1; \
	CHARSET_pl=iso-8859-2; \
	CHARSET_pt=iso-8859-1; \
	CHARSET_pt_BR=iso-8859-1; \
	CHARSET_ro=iso-8859-2; \
	CHARSET_ru=koi8-r; \
	CHARSET_sk=utf-8; \
	CHARSET_sl=iso-8859-2; \
	CHARSET_sr=utf-8; \
	CHARSET_sv=iso-8859-1; \
	CHARSET_tr=iso-8859-9; \
	CHARSET_uk=utf-8; \
	CHARSET_vi=utf-8; \
	CHARSET_zh_CN=utf-8; \
	CHARSET_zh_TW=utf-8; \
	for d in $(LANGUAGES); \
	do \
	    eval cs='$$CHARSET_'$$d; \
	    test -n "$$cs" || cs=cp1252; \
	    $(srcdir)/../mkinstalldirs $(DESTDIR)$(TEMPLATEDIR)/$$d; \
	    for f in $(srcdir)/$$d/*.html $(srcdir)/$$d/*.txt; \
	    do \
		bn=$$(basename $$f); \
		if ! iconv -f $$cs -t utf-8 <$$f; then \
			echo >&2 Warning: broken encoding in $$f; \
			iconv -c -f cp1252 -t utf-8 <$$f; \
		fi >$$f.utf-8; \
	    	$(INSTALL) -m $(FILEMODE) $$f.utf-8 $(DESTDIR)$(TEMPLATEDIR)/$$d/$$bn; \
		rm -f $$f.utf-8; \
	    done; \
	done

finish:

clean:

distclean:
	-rm -f Makefile