SHELL = /bin/sh # For now, just hard-coded rules. CONFIG = ../conf/access ../conf/aliases ../conf/canonical ../conf/relocated \ ../conf/transport ../conf/virtual ../conf/header_checks \ ../conf/generic HTML = ../html/ADDRESS_CLASS_README.html \ ../html/ADDRESS_REWRITING_README.html \ ../html/ADDRESS_VERIFICATION_README.html \ ../html/BACKSCATTER_README.html \ ../html/BASIC_CONFIGURATION_README.html \ ../html/BUILTIN_FILTER_README.html \ ../html/CDB_README.html \ ../html/CONNECTION_CACHE_README.html \ ../html/CONTENT_INSPECTION_README.html \ ../html/CYRUS_README.html \ ../html/DATABASE_README.html ../html/DB_README.html \ ../html/DEBUG_README.html \ ../html/ETRN_README.html ../html/FILTER_README.html \ ../html/INSTALL.html ../html/IPV6_README.html \ ../html/LDAP_README.html \ ../html/LINUX_README.html ../html/LMTP_README.html \ ../html/LOCAL_RECIPIENT_README.html ../html/MAILDROP_README.html \ ../html/MYSQL_README.html ../html/NFS_README.html \ ../html/OVERVIEW.html \ ../html/PACKAGE_README.html ../html/PCRE_README.html \ ../html/PGSQL_README.html ../html/QMQP_README.html \ ../html/QSHAPE_README.html \ ../html/RESTRICTION_CLASS_README.html ../html/SASL_README.html \ ../html/SCHEDULER_README.html ../html/SMTPD_ACCESS_README.html \ ../html/SMTPD_POLICY_README.html \ ../html/SMTPD_PROXY_README.html \ ../html/STANDARD_CONFIGURATION_README.html \ ../html/TLS_README.html \ ../html/TUNING_README.html \ ../html/UUCP_README.html ../html/ULTRIX_README.html \ ../html/VERP_README.html ../html/VIRTUAL_README.html \ ../html/XCLIENT_README.html ../html/XFORWARD_README.html \ ../html/postconf.5.html README = ../README_FILES/ADDRESS_CLASS_README \ ../README_FILES/ADDRESS_REWRITING_README \ ../README_FILES/ADDRESS_VERIFICATION_README \ ../README_FILES/BACKSCATTER_README \ ../README_FILES/BASIC_CONFIGURATION_README \ ../README_FILES/BUILTIN_FILTER_README \ ../README_FILES/CDB_README \ ../README_FILES/CONNECTION_CACHE_README \ ../README_FILES/CONTENT_INSPECTION_README \ ../README_FILES/CYRUS_README \ ../README_FILES/DATABASE_README ../README_FILES/DB_README \ ../README_FILES/DEBUG_README \ ../README_FILES/ETRN_README ../README_FILES/FILTER_README \ ../README_FILES/INSTALL ../README_FILES/IPV6_README \ ../README_FILES/LDAP_README \ ../README_FILES/LINUX_README ../README_FILES/LMTP_README \ ../README_FILES/LOCAL_RECIPIENT_README ../README_FILES/MAILDROP_README \ ../README_FILES/MYSQL_README ../README_FILES/NFS_README \ ../README_FILES/OVERVIEW \ ../README_FILES/PACKAGE_README ../README_FILES/PCRE_README \ ../README_FILES/PGSQL_README ../README_FILES/QMQP_README \ ../README_FILES/QSHAPE_README \ ../README_FILES/RESTRICTION_CLASS_README \ ../README_FILES/SASL_README ../README_FILES/SCHEDULER_README \ ../README_FILES/SMTPD_ACCESS_README \ ../README_FILES/SMTPD_POLICY_README ../README_FILES/SMTPD_PROXY_README \ ../README_FILES/STANDARD_CONFIGURATION_README \ ../README_FILES/TLS_README \ ../README_FILES/TUNING_README \ ../README_FILES/UUCP_README ../README_FILES/ULTRIX_README \ ../README_FILES/VERP_README ../README_FILES/VIRTUAL_README \ ../README_FILES/XCLIENT_README ../README_FILES/XFORWARD_README \ ../README_FILES/AAAREADME MAN = ../man/man5/postconf.5 AWK = awk '{ print; if (NR == 1) print ".pl 9999\n.ll 65" }' SRCTOMAN= ../mantools/srctoman POSTLINK= ../mantools/postlink HT2READ = ../mantools/html2readme MAKEAAA = ../mantools/makereadme update: $(CONFIG) $(HTML) $(README) $(MAN) Makefile: Makefile.in (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../makedefs; cat $?) >$@ clean: : tidy: clean clobber: rm -f $(CONFIG) $(README) $(HTML) #$(README): $(HT2READ) #$(HTML): $(POSTLINK) ../conf/access: access $(SRCTOMAN) - $? | $(AWK) | nroff -man | col -bx | uniq | sed 's/^/# /' >$@ ../conf/aliases: aliases0 aliases (cat aliases0; $(SRCTOMAN) - aliases | $(AWK) | nroff -man | col -bx | uniq | sed 's/^/# /') >$@ ../conf/canonical: canonical $(SRCTOMAN) - $? | $(AWK) | nroff -man | col -bx | uniq | sed 's/^/# /' >$@ ../conf/generic: generic $(SRCTOMAN) - $? | $(AWK) | nroff -man | col -bx | uniq | sed 's/^/# /' >$@ ../conf/header_checks: header_checks $(SRCTOMAN) - $? | $(AWK) | nroff -man | col -bx | uniq | sed 's/^/# /' >$@ ../conf/relocated: relocated $(SRCTOMAN) - $? | $(AWK) | nroff -man | col -bx | uniq | sed 's/^/# /' >$@ ../conf/transport: transport $(SRCTOMAN) - $? | $(AWK) | nroff -man | col -bx | uniq | sed 's/^/# /' >$@ ../conf/virtual: virtual $(SRCTOMAN) - $? | $(AWK) | nroff -man | col -bx | uniq | sed 's/^/# /' >$@ ../html/ADDRESS_CLASS_README.html: ADDRESS_CLASS_README.html $(POSTLINK) $? >$@ ../html/ADDRESS_REWRITING_README.html: ADDRESS_REWRITING_README.html $(POSTLINK) $? >$@ ../html/ADDRESS_VERIFICATION_README.html: ADDRESS_VERIFICATION_README.html $(POSTLINK) $? >$@ ../html/BACKSCATTER_README.html: BACKSCATTER_README.html $(POSTLINK) $? >$@ ../html/CDB_README.html: CDB_README.html $(POSTLINK) $? >$@ ../html/CONNECTION_CACHE_README.html: CONNECTION_CACHE_README.html $(POSTLINK) $? >$@ ../html/CONTENT_INSPECTION_README.html: CONTENT_INSPECTION_README.html $(POSTLINK) $? >$@ ../html/CYRUS_README.html: CYRUS_README.html $(POSTLINK) $? >$@ ../html/BASIC_CONFIGURATION_README.html: BASIC_CONFIGURATION_README.html $(POSTLINK) $? >$@ ../html/BUILTIN_FILTER_README.html: BUILTIN_FILTER_README.html $(POSTLINK) $? >$@ ../html/DATABASE_README.html: DATABASE_README.html $(POSTLINK) $? >$@ ../html/DB_README.html: DB_README.html $(POSTLINK) $? >$@ ../html/DEBUG_README.html: DEBUG_README.html $(POSTLINK) $? >$@ ../html/ETRN_README.html: ETRN_README.html $(POSTLINK) $? >$@ ../html/FILTER_README.html: FILTER_README.html $(POSTLINK) $? >$@ ../html/INSTALL.html: INSTALL.html $(POSTLINK) $? >$@ ../html/IPV6_README.html: IPV6_README.html $(POSTLINK) $? >$@ ../html/LDAP_README.html: LDAP_README.html $(POSTLINK) $? >$@ ../html/LINUX_README.html: LINUX_README.html $(POSTLINK) $? >$@ ../html/LMTP_README.html: LMTP_README.html $(POSTLINK) $? >$@ ../html/LOCAL_RECIPIENT_README.html: LOCAL_RECIPIENT_README.html $(POSTLINK) $? >$@ ../html/MAILDROP_README.html: MAILDROP_README.html $(POSTLINK) $? >$@ ../html/MYSQL_README.html: MYSQL_README.html $(POSTLINK) $? >$@ ../html/NFS_README.html: NFS_README.html $(POSTLINK) $? >$@ ../html/OVERVIEW.html: OVERVIEW.html $(POSTLINK) $? >$@ ../html/PACKAGE_README.html: PACKAGE_README.html $(POSTLINK) $? >$@ ../html/PCRE_README.html: PCRE_README.html $(POSTLINK) $? >$@ ../html/PGSQL_README.html: PGSQL_README.html $(POSTLINK) $? >$@ ../html/QMQP_README.html: QMQP_README.html $(POSTLINK) $? >$@ ../html/QSHAPE_README.html: QSHAPE_README.html $(POSTLINK) $? >$@ ../html/RESTRICTION_CLASS_README.html: RESTRICTION_CLASS_README.html $(POSTLINK) $? >$@ ../html/SASL_README.html: SASL_README.html $(POSTLINK) $? >$@ ../html/SCHEDULER_README.html: SCHEDULER_README.html $(POSTLINK) $? >$@ ../html/SMTPD_ACCESS_README.html: SMTPD_ACCESS_README.html $(POSTLINK) $? >$@ ../html/SMTPD_POLICY_README.html: SMTPD_POLICY_README.html $(POSTLINK) $? >$@ ../html/SMTPD_PROXY_README.html: SMTPD_PROXY_README.html $(POSTLINK) $? >$@ ../html/STANDARD_CONFIGURATION_README.html: STANDARD_CONFIGURATION_README.html $(POSTLINK) $? >$@ ../html/TUNING_README.html: TUNING_README.html $(POSTLINK) $? >$@ ../html/UUCP_README.html: UUCP_README.html $(POSTLINK) $? >$@ ../html/ULTRIX_README.html: ULTRIX_README.html $(POSTLINK) $? >$@ ../html/VERP_README.html: VERP_README.html $(POSTLINK) $? >$@ ../html/VIRTUAL_README.html: VIRTUAL_README.html $(POSTLINK) $? >$@ ../html/XCLIENT_README.html: XCLIENT_README.html $(POSTLINK) $? >$@ ../html/XFORWARD_README.html: XFORWARD_README.html $(POSTLINK) $? >$@ ../html/TLS_README.html: TLS_README.html $(POSTLINK) $? >$@ ../README_FILES/ADDRESS_CLASS_README: ADDRESS_CLASS_README.html $(HT2READ) $? >$@ ../README_FILES/ADDRESS_REWRITING_README: ADDRESS_REWRITING_README.html $(HT2READ) $? >$@ ../README_FILES/ADDRESS_VERIFICATION_README: ADDRESS_VERIFICATION_README.html $(HT2READ) $? >$@ ../README_FILES/BACKSCATTER_README: BACKSCATTER_README.html $(HT2READ) $? >$@ ../README_FILES/BASIC_CONFIGURATION_README: BASIC_CONFIGURATION_README.html $(HT2READ) $? >$@ ../README_FILES/BUILTIN_FILTER_README: BUILTIN_FILTER_README.html $(HT2READ) $? >$@ ../README_FILES/CDB_README: CDB_README.html $(HT2READ) $? >$@ ../README_FILES/CONNECTION_CACHE_README: CONNECTION_CACHE_README.html $(HT2READ) $? >$@ ../README_FILES/CONTENT_INSPECTION_README: CONTENT_INSPECTION_README.html $(HT2READ) $? >$@ ../README_FILES/CYRUS_README: CYRUS_README.html $(HT2READ) $? >$@ ../README_FILES/DATABASE_README: DATABASE_README.html $(HT2READ) $? >$@ ../README_FILES/DB_README: DB_README.html $(HT2READ) $? >$@ ../README_FILES/DEBUG_README: DEBUG_README.html $(HT2READ) $? >$@ ../README_FILES/ETRN_README: ETRN_README.html $(HT2READ) $? >$@ ../README_FILES/FILTER_README: FILTER_README.html $(HT2READ) $? >$@ ../README_FILES/INSTALL: INSTALL.html $(HT2READ) $? >$@ ../README_FILES/IPV6_README: IPV6_README.html $(HT2READ) $? >$@ ../README_FILES/LDAP_README: LDAP_README.html $(HT2READ) $? >$@ ../README_FILES/LINUX_README: LINUX_README.html $(HT2READ) $? >$@ ../README_FILES/LMTP_README: LMTP_README.html $(HT2READ) $? >$@ ../README_FILES/LOCAL_RECIPIENT_README: LOCAL_RECIPIENT_README.html $(HT2READ) $? >$@ ../README_FILES/MAILDROP_README: MAILDROP_README.html $(HT2READ) $? >$@ ../README_FILES/MYSQL_README: MYSQL_README.html $(HT2READ) $? >$@ ../README_FILES/NFS_README: NFS_README.html $(HT2READ) $? >$@ ../README_FILES/OVERVIEW: OVERVIEW.html $(HT2READ) $? >$@ ../README_FILES/PACKAGE_README: PACKAGE_README.html $(HT2READ) $? >$@ ../README_FILES/PCRE_README: PCRE_README.html $(HT2READ) $? >$@ ../README_FILES/PGSQL_README: PGSQL_README.html $(HT2READ) $? >$@ ../README_FILES/QMQP_README: QMQP_README.html $(HT2READ) $? >$@ ../README_FILES/QSHAPE_README: QSHAPE_README.html $(HT2READ) $? >$@ ../README_FILES/RESTRICTION_CLASS_README: RESTRICTION_CLASS_README.html $(HT2READ) $? >$@ ../README_FILES/SASL_README: SASL_README.html $(HT2READ) $? >$@ ../README_FILES/SCHEDULER_README: SCHEDULER_README.html $(HT2READ) $? >$@ ../README_FILES/SMTPD_ACCESS_README: SMTPD_ACCESS_README.html $(HT2READ) $? >$@ ../README_FILES/SMTPD_POLICY_README: SMTPD_POLICY_README.html $(HT2READ) $? >$@ ../README_FILES/SMTPD_PROXY_README: SMTPD_PROXY_README.html $(HT2READ) $? >$@ ../README_FILES/STANDARD_CONFIGURATION_README: STANDARD_CONFIGURATION_README.html $(HT2READ) $? >$@ ../README_FILES/TUNING_README: TUNING_README.html $(HT2READ) $? >$@ ../README_FILES/UUCP_README: UUCP_README.html $(HT2READ) $? >$@ ../README_FILES/ULTRIX_README: ULTRIX_README.html $(HT2READ) $? >$@ ../README_FILES/VERP_README: VERP_README.html $(HT2READ) $? >$@ ../README_FILES/VIRTUAL_README: VIRTUAL_README.html $(HT2READ) $? >$@ ../README_FILES/XCLIENT_README: XCLIENT_README.html $(HT2READ) $? >$@ ../README_FILES/XFORWARD_README: XFORWARD_README.html $(HT2READ) $? >$@ ../README_FILES/TLS_README: TLS_README.html $(HT2READ) $? >$@ ../README_FILES/AAAREADME: ../html/index.html $(MAKEAAA) $(MAKEAAA) ../html/index.html | $(HT2READ) >$@ ../man/man5/postconf.5: postconf.man.prolog postconf.proto postconf.man.epilog \ ../mantools/xpostconf ../mantools/postconf2html ../mantools/postconf2man (cat postconf.man.prolog; ../mantools/xpostconf postconf.proto | \ ../mantools/postconf2html | ../mantools/postconf2man; \ cat postconf.man.epilog ) > $@ ../html/postconf.5.html: postconf.html.prolog postconf.proto \ postconf.html.epilog ../mantools/xpostconf ../mantools/postconf2html \ ../mantools/postlink (cat postconf.html.prolog; ../mantools/xpostconf postconf.proto | \ ../mantools/postconf2html | ../mantools/postlink; \ cat postconf.html.epilog ) > $@