## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.37 2005/11/24 19:32:09 dm Exp $
man_MANS = aliascheck.1 avenger.1 dbutil.1 deliver.1 dotlock.1 \
edinplace.1 escape.1 macutil.1 mailexec.1 match.1 smtpdcheck.1 synos.1 \
asmtpd.conf.5 asmtpd.8 avenger.local.8
SUFFIXES = .pod .1 .5 .8 .html
MAN_RULE = rm -f $@; \
sec=`expr $@ : '.*\.\([^.]\)$$'`; \
sed -e 's!@'etcdir'@!$(etcdir)!g' \
-e 's!@'libexecdir'@!$(libexecdir)!g' \
-e 's!@'datadir'@!$(datadir)!g' \
-e 's!@'sampledir'@!$(sampledir)!g' \
-e 's!@'piddir'@!$(piddir)!g' < $< \
-e 's!@'VERSION'@!$(VERSION)!g' < $< \
| $(POD2MAN) --release="Mail Avenger $(VERSION)" \
--center="Mail Avenger $(VERSION)" \
--name=`basename $@ .$$sec`\
--section=$$sec > $@
GROFF = groff
HTML_RULE = $(GROFF) -Thtml -P -l -man $< > $@
.pod.1:
$(MAN_RULE)
.pod.5:
$(MAN_RULE)
.pod.8:
$(MAN_RULE)
.1.html:
$(HTML_RULE)
.5.html:
$(HTML_RULE)
.8.html:
$(HTML_RULE)
.PHONY: man
man: $(man_MANS)
.PHONY: dist-hook
dist-hook:
$(MAKE) manclean man
for man in $(man_MANS); do \
if test -f $$man; then \
cp $$man $(distdir)/; \
elif test -f $(srcdir)/$$man; then \
cp $(srcdir)/$$man $(distdir)/; \
fi \
done
.PHONY: html
html: aliascheck.html asmtpd.conf.html asmtpd.html avenger.local.html \
avenger.html dbutil.html deliver.html dotlock.html edinplace.html \
escape.html macutil.html match.html mailexec.html smtpdcheck.html \
synos.html
.PHONY: manclean
manclean:
-rm -f $(man_MANS) $(srcdir)/*.[158]
EXTRA_DIST = .cvsignore aliascheck.pod asmtpd.conf.pod asmtpd.pod \
avenger.local.pod avenger.pod dbutil.pod deliver.pod dotlock.pod \
edinplace.pod escape.pod macutil.pod mailexec.pod match.pod \
smtpdcheck.pod synos.pod
CLEANFILES = core *.core *~ *.html pod2htm[di].tmp
#DISTCLEANFILES =
MAINTAINERCLEANFILES = Makefile.in $(man_MANS) $(srcdir)/*.[158]
syntax highlighted by Code2HTML, v. 0.9.1