#-----------------------------------------------------------------------------
#
# POPular -- A POP3 server and proxy for large mail systems
#
# $Id: Makefile.am,v 1.7 2002/05/25 19:18:46 sqrt Exp $
#
# http://www.remote.org/jochen/mail/popular/
#
#-----------------------------------------------------------------------------
#
# Copyright 1999-2002 by Jochen Topf <jochen@remote.org>
#
# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
#
#-----------------------------------------------------------------------------
man_MANS := pcheck.1 pcontrol.1 pdeliver.1 pstatus.1 ptestpdm.1 pcheckd.8 pproxy.8 pserv.8 popular-log.7 ringd.8
EXTRA_DIST := $(man_MANS) *.sgml
GZIP := gzip
ADDCREDIT := $(top_srcdir)/doc/bin/add-credit
DB2MAN := @PERL_PATH@ $(top_srcdir)/doc/bin/docbook2man
LOG_RAW2MAN := @PERL_PATH@ $(top_srcdir)/doc/bin/log-raw2man
.PHONY: all man clean
all: man
clean:
rm -f *.1 *.7 *.8
man: $(man_MANS)
%.1: %.sgml $(DB2MAN) $(ADDCREDIT)
$(ADDCREDIT) $< | $(DB2MAN) - >$@ || rm $@
%.8: %.sgml $(DB2MAN) $(ADDCREDIT)
$(ADDCREDIT) $< | $(DB2MAN) - >$@ || rm $@
popular-log.7: $(top_builddir)/doc/log/messagelist.raw
$(LOG_RAW2MAN) $< >$@ || rm $@
#-----------------------------------------------------------------------------
# gzip
#-----------------------------------------------------------------------------
%.gz: %
$(GZIP) -9 -f $<
#-- THE END ------------------------------------------------------------------
syntax highlighted by Code2HTML, v. 0.9.1