3 # For now, just hard-coded rules.
5 CONFIG
= ..
/conf
/access ..
/conf
/aliases ..
/conf
/canonical ..
/conf
/relocated \
6 ..
/conf
/transport ..
/conf
/virtual ..
/conf
/header_checks \
9 HTML
= ..
/html
/ADDRESS_CLASS_README.html \
10 ..
/html
/ADDRESS_REWRITING_README.html \
11 ..
/html
/ADDRESS_VERIFICATION_README.html \
12 ..
/html
/BACKSCATTER_README.html \
13 ..
/html
/BASIC_CONFIGURATION_README.html \
14 ..
/html
/BUILTIN_FILTER_README.html \
15 ..
/html
/CDB_README.html \
16 ..
/html
/CONNECTION_CACHE_README.html \
17 ..
/html
/CONTENT_INSPECTION_README.html \
18 ..
/html
/DATABASE_README.html ..
/html
/DB_README.html \
19 ..
/html
/DEBUG_README.html \
20 ..
/html
/DSN_README.html \
21 ..
/html
/ETRN_README.html ..
/html
/FILTER_README.html \
22 ..
/html
/INSTALL.html ..
/html
/IPV6_README.html \
23 ..
/html
/LDAP_README.html \
24 ..
/html
/LINUX_README.html \
25 ..
/html
/LOCAL_RECIPIENT_README.html ..
/html
/MAILDROP_README.html \
26 ..
/html
/MILTER_README.html \
27 ..
/html
/MULTI_INSTANCE_README.html \
28 ..
/html
/MYSQL_README.html ..
/html
/NFS_README.html \
29 ..
/html
/OVERVIEW.html \
30 ..
/html
/PACKAGE_README.html ..
/html
/PCRE_README.html \
31 ..
/html
/PGSQL_README.html \
32 ..
/html
/QSHAPE_README.html \
33 ..
/html
/RESTRICTION_CLASS_README.html ..
/html
/SASL_README.html \
34 ..
/html
/SCHEDULER_README.html ..
/html
/SMTPD_ACCESS_README.html \
35 ..
/html
/SMTPD_POLICY_README.html \
36 ..
/html
/SMTPD_PROXY_README.html \
37 ..
/html
/SOHO_README.html \
38 ..
/html
/STANDARD_CONFIGURATION_README.html \
39 ..
/html
/STRESS_README.html \
40 ..
/html
/TLS_README.html ..
/html
/TLS_LEGACY_README.html \
41 ..
/html
/TUNING_README.html \
42 ..
/html
/UUCP_README.html \
43 ..
/html
/VERP_README.html ..
/html
/VIRTUAL_README.html \
44 ..
/html
/XCLIENT_README.html ..
/html
/XFORWARD_README.html \
45 ..
/html
/postconf
.5.html
47 README
= ..
/README_FILES
/ADDRESS_CLASS_README \
48 ..
/README_FILES
/ADDRESS_REWRITING_README \
49 ..
/README_FILES
/ADDRESS_VERIFICATION_README \
50 ..
/README_FILES
/BACKSCATTER_README \
51 ..
/README_FILES
/BASIC_CONFIGURATION_README \
52 ..
/README_FILES
/BUILTIN_FILTER_README \
53 ..
/README_FILES
/CDB_README \
54 ..
/README_FILES
/CONNECTION_CACHE_README \
55 ..
/README_FILES
/CONTENT_INSPECTION_README \
56 ..
/README_FILES
/DATABASE_README ..
/README_FILES
/DB_README \
57 ..
/README_FILES
/DEBUG_README \
58 ..
/README_FILES
/DSN_README \
59 ..
/README_FILES
/ETRN_README ..
/README_FILES
/FILTER_README \
60 ..
/README_FILES
/INSTALL ..
/README_FILES
/IPV6_README \
61 ..
/README_FILES
/LDAP_README \
62 ..
/README_FILES
/LINUX_README \
63 ..
/README_FILES
/LOCAL_RECIPIENT_README ..
/README_FILES
/MAILDROP_README \
64 ..
/README_FILES
/MILTER_README \
65 ..
/README_FILES
/MULTI_INSTANCE_README \
66 ..
/README_FILES
/MYSQL_README ..
/README_FILES
/NFS_README \
67 ..
/README_FILES
/OVERVIEW \
68 ..
/README_FILES
/PACKAGE_README ..
/README_FILES
/PCRE_README \
69 ..
/README_FILES
/PGSQL_README \
70 ..
/README_FILES
/QSHAPE_README \
71 ..
/README_FILES
/RESTRICTION_CLASS_README \
72 ..
/README_FILES
/SASL_README ..
/README_FILES
/SCHEDULER_README \
73 ..
/README_FILES
/SMTPD_ACCESS_README \
74 ..
/README_FILES
/SMTPD_POLICY_README ..
/README_FILES
/SMTPD_PROXY_README \
75 ..
/README_FILES
/SOHO_README \
76 ..
/README_FILES
/STANDARD_CONFIGURATION_README \
77 ..
/README_FILES
/STRESS_README \
78 ..
/README_FILES
/TLS_README ..
/README_FILES
/TLS_LEGACY_README \
79 ..
/README_FILES
/TUNING_README \
80 ..
/README_FILES
/UUCP_README \
81 ..
/README_FILES
/VERP_README ..
/README_FILES
/VIRTUAL_README \
82 ..
/README_FILES
/XCLIENT_README ..
/README_FILES
/XFORWARD_README \
83 ..
/README_FILES
/AAAREADME
85 MAN
= ..
/man
/man5
/postconf
.5
87 AWK
= awk
'{ print; if (NR == 1) print ".pl 9999\n.ll 65" }'
88 SRCTOMAN
= ..
/mantools
/srctoman
89 POSTLINK
= ..
/mantools
/postlink
90 HT2READ
= ..
/mantools
/html2readme
91 MAKEAAA
= ..
/mantools
/makereadme
92 MAKESOHO
= ..
/mantools
/make_soho_readme
93 DEPSOHO
= SASL_README.html STANDARD_CONFIGURATION_README.html
95 update
: $(CONFIG
) $(HTML
) $(README
) $(MAN
)
103 rm -f
$(CONFIG
) $(README
) $(HTML
)
105 #$(README): $(HT2READ)
106 #$(HTML): $(POSTLINK)
108 ..
/conf
/access
: access
109 $(SRCTOMAN
) - $? |
$(AWK
) | nroff
-man | col
-bx | uniq | sed
's/^/# /' >$@
111 ..
/conf
/aliases
: aliases0 aliases
112 (cat aliases0
; $(SRCTOMAN
) - aliases |
$(AWK
) | nroff
-man | col
-bx | uniq | sed
's/^/# /') >$@
114 ..
/conf
/canonical
: canonical
115 $(SRCTOMAN
) - $? |
$(AWK
) | nroff
-man | col
-bx | uniq | sed
's/^/# /' >$@
117 ..
/conf
/generic
: generic
118 $(SRCTOMAN
) - $? |
$(AWK
) | nroff
-man | col
-bx | uniq | sed
's/^/# /' >$@
120 ..
/conf
/header_checks
: header_checks
121 $(SRCTOMAN
) - $? |
$(AWK
) | nroff
-man | col
-bx | uniq | sed
's/^/# /' >$@
123 ..
/conf
/relocated
: relocated
124 $(SRCTOMAN
) - $? |
$(AWK
) | nroff
-man | col
-bx | uniq | sed
's/^/# /' >$@
126 ..
/conf
/transport
: transport
127 $(SRCTOMAN
) - $? |
$(AWK
) | nroff
-man | col
-bx | uniq | sed
's/^/# /' >$@
129 ..
/conf
/virtual
: virtual
130 $(SRCTOMAN
) - $? |
$(AWK
) | nroff
-man | col
-bx | uniq | sed
's/^/# /' >$@
132 ..
/html
/ADDRESS_CLASS_README.html
: ADDRESS_CLASS_README.html
135 ..
/html
/ADDRESS_REWRITING_README.html
: ADDRESS_REWRITING_README.html
138 ..
/html
/ADDRESS_VERIFICATION_README.html
: ADDRESS_VERIFICATION_README.html
141 ..
/html
/BACKSCATTER_README.html
: BACKSCATTER_README.html
144 ..
/html
/CDB_README.html
: CDB_README.html
147 ..
/html
/CONNECTION_CACHE_README.html
: CONNECTION_CACHE_README.html
150 ..
/html
/CONTENT_INSPECTION_README.html
: CONTENT_INSPECTION_README.html
153 ..
/html
/CYRUS_README.html
: CYRUS_README.html
156 ..
/html
/BASIC_CONFIGURATION_README.html
: BASIC_CONFIGURATION_README.html
159 ..
/html
/BUILTIN_FILTER_README.html
: BUILTIN_FILTER_README.html
162 ..
/html
/DATABASE_README.html
: DATABASE_README.html
165 ..
/html
/DB_README.html
: DB_README.html
168 ..
/html
/DEBUG_README.html
: DEBUG_README.html
171 ..
/html
/DSN_README.html
: DSN_README.html
174 ..
/html
/ETRN_README.html
: ETRN_README.html
177 ..
/html
/FILTER_README.html
: FILTER_README.html
180 ..
/html
/INSTALL.html
: INSTALL.html
183 ..
/html
/IPV6_README.html
: IPV6_README.html
186 ..
/html
/LDAP_README.html
: LDAP_README.html
189 ..
/html
/LINUX_README.html
: LINUX_README.html
192 ..
/html
/LOCAL_RECIPIENT_README.html
: LOCAL_RECIPIENT_README.html
195 ..
/html
/MAILDROP_README.html
: MAILDROP_README.html
198 ..
/html
/MILTER_README.html
: MILTER_README.html
201 ..
/html
/MULTI_INSTANCE_README.html
: MULTI_INSTANCE_README.html
204 ..
/html
/MYSQL_README.html
: MYSQL_README.html
207 ..
/html
/NFS_README.html
: NFS_README.html
210 ..
/html
/OVERVIEW.html
: OVERVIEW.html
213 ..
/html
/PACKAGE_README.html
: PACKAGE_README.html
216 ..
/html
/PCRE_README.html
: PCRE_README.html
219 ..
/html
/PGSQL_README.html
: PGSQL_README.html
222 ..
/html
/QMQP_README.html
: QMQP_README.html
225 ..
/html
/QSHAPE_README.html
: QSHAPE_README.html
228 ..
/html
/RESTRICTION_CLASS_README.html
: RESTRICTION_CLASS_README.html
231 ..
/html
/SASL_README.html
: SASL_README.html
234 ..
/html
/SCHEDULER_README.html
: SCHEDULER_README.html
237 ..
/html
/SMTPD_ACCESS_README.html
: SMTPD_ACCESS_README.html
240 ..
/html
/SMTPD_POLICY_README.html
: SMTPD_POLICY_README.html
243 ..
/html
/SMTPD_PROXY_README.html
: SMTPD_PROXY_README.html
246 ..
/html
/SOHO_README.html
: $(MAKESOHO
) $(DEPSOHO
)
247 $(MAKESOHO
) |
$(POSTLINK
) >$@
249 ..
/html
/STANDARD_CONFIGURATION_README.html
: STANDARD_CONFIGURATION_README.html
252 ..
/html
/STRESS_README.html
: STRESS_README.html
255 ..
/html
/TUNING_README.html
: TUNING_README.html
258 ..
/html
/UUCP_README.html
: UUCP_README.html
261 ..
/html
/ULTRIX_README.html
: ULTRIX_README.html
264 ..
/html
/VERP_README.html
: VERP_README.html
267 ..
/html
/VIRTUAL_README.html
: VIRTUAL_README.html
270 ..
/html
/XCLIENT_README.html
: XCLIENT_README.html
273 ..
/html
/XFORWARD_README.html
: XFORWARD_README.html
276 ..
/html
/TLS_README.html
: TLS_README.html
279 ..
/html
/TLS_LEGACY_README.html
: TLS_LEGACY_README.html
282 ..
/README_FILES
/ADDRESS_CLASS_README
: ADDRESS_CLASS_README.html
285 ..
/README_FILES
/ADDRESS_REWRITING_README
: ADDRESS_REWRITING_README.html
288 ..
/README_FILES
/ADDRESS_VERIFICATION_README
: ADDRESS_VERIFICATION_README.html
291 ..
/README_FILES
/BACKSCATTER_README
: BACKSCATTER_README.html
294 ..
/README_FILES
/BASIC_CONFIGURATION_README
: BASIC_CONFIGURATION_README.html
297 ..
/README_FILES
/BUILTIN_FILTER_README
: BUILTIN_FILTER_README.html
300 ..
/README_FILES
/CDB_README
: CDB_README.html
303 ..
/README_FILES
/CONNECTION_CACHE_README
: CONNECTION_CACHE_README.html
306 ..
/README_FILES
/CONTENT_INSPECTION_README
: CONTENT_INSPECTION_README.html
309 ..
/README_FILES
/CYRUS_README
: CYRUS_README.html
312 ..
/README_FILES
/DATABASE_README
: DATABASE_README.html
315 ..
/README_FILES
/DB_README
: DB_README.html
318 ..
/README_FILES
/DEBUG_README
: DEBUG_README.html
321 ..
/README_FILES
/DSN_README
: DSN_README.html
324 ..
/README_FILES
/ETRN_README
: ETRN_README.html
327 ..
/README_FILES
/FILTER_README
: FILTER_README.html
330 ..
/README_FILES
/INSTALL
: INSTALL.html
333 ..
/README_FILES
/IPV6_README
: IPV6_README.html
336 ..
/README_FILES
/LDAP_README
: LDAP_README.html
339 ..
/README_FILES
/LINUX_README
: LINUX_README.html
342 ..
/README_FILES
/LOCAL_RECIPIENT_README
: LOCAL_RECIPIENT_README.html
345 ..
/README_FILES
/MAILDROP_README
: MAILDROP_README.html
348 ..
/README_FILES
/MILTER_README
: MILTER_README.html
351 ..
/README_FILES
/MULTI_INSTANCE_README
: MULTI_INSTANCE_README.html
354 ..
/README_FILES
/MYSQL_README
: MYSQL_README.html
357 ..
/README_FILES
/NFS_README
: NFS_README.html
360 ..
/README_FILES
/OVERVIEW
: OVERVIEW.html
363 ..
/README_FILES
/PACKAGE_README
: PACKAGE_README.html
366 ..
/README_FILES
/PCRE_README
: PCRE_README.html
369 ..
/README_FILES
/PGSQL_README
: PGSQL_README.html
372 ..
/README_FILES
/QMQP_README
: QMQP_README.html
375 ..
/README_FILES
/QSHAPE_README
: QSHAPE_README.html
378 ..
/README_FILES
/RESTRICTION_CLASS_README
: RESTRICTION_CLASS_README.html
381 ..
/README_FILES
/SASL_README
: SASL_README.html
384 ..
/README_FILES
/SCHEDULER_README
: SCHEDULER_README.html
387 ..
/README_FILES
/SMTPD_ACCESS_README
: SMTPD_ACCESS_README.html
390 ..
/README_FILES
/SMTPD_POLICY_README
: SMTPD_POLICY_README.html
393 ..
/README_FILES
/SMTPD_PROXY_README
: SMTPD_PROXY_README.html
396 ..
/README_FILES
/SOHO_README
: $(MAKESOHO
) $(DEPSOHO
)
397 $(MAKESOHO
) |
$(HT2READ
) >$@
399 ..
/README_FILES
/STANDARD_CONFIGURATION_README
: STANDARD_CONFIGURATION_README.html
402 ..
/README_FILES
/STRESS_README
: STRESS_README.html
405 ..
/README_FILES
/TUNING_README
: TUNING_README.html
408 ..
/README_FILES
/UUCP_README
: UUCP_README.html
411 ..
/README_FILES
/ULTRIX_README
: ULTRIX_README.html
414 ..
/README_FILES
/VERP_README
: VERP_README.html
417 ..
/README_FILES
/VIRTUAL_README
: VIRTUAL_README.html
420 ..
/README_FILES
/XCLIENT_README
: XCLIENT_README.html
423 ..
/README_FILES
/XFORWARD_README
: XFORWARD_README.html
426 ..
/README_FILES
/TLS_README
: TLS_README.html
429 ..
/README_FILES
/TLS_LEGACY_README
: TLS_LEGACY_README.html
432 ..
/README_FILES
/AAAREADME
: ..
/html
/index.html
$(MAKEAAA
)
433 $(MAKEAAA
) ..
/html
/index.html |
$(HT2READ
) >$@
435 ..
/man
/man5
/postconf
.5: postconf.man.prolog postconf.proto postconf.man.epilog \
436 ..
/mantools
/xpostconf ..
/mantools
/postconf2html ..
/mantools
/postconf2man
437 (cat postconf.man.prolog
; ..
/mantools
/xpostconf postconf.proto | \
438 ..
/mantools
/postconf2html | ..
/mantools
/postconf2man | \
439 sed
's/\\e&/\\\&/'; cat postconf.man.epilog
) > $@
441 ..
/html
/postconf
.5.html
: postconf.html.prolog postconf.proto \
442 postconf.html.epilog ..
/mantools
/xpostconf ..
/mantools
/postconf2html \
444 (cat postconf.html.prolog
; ..
/mantools
/xpostconf postconf.proto | \
445 ..
/mantools
/postconf2html | ..
/mantools
/postlink
; \
446 cat postconf.html.epilog
) > $@