## Process this file with automake to produce Makefile.in
## Copyright (C) 2000, 2001 Gergely Nagy <8@free.bsd.hu>
##
## This file is part of POP3Lite.
##
## POP3Lite 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.
##
## POP3Lite 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
##
## $Id: Makefile.am,v 1.12 2001/02/02 14:08:08 algernon Exp $

CLEANFILES		= *~ *.ps pop3lite-admin.text
MAINTAINERCLEANFILES	= Makefile.in pop3lite-admin.info

info_TEXINFOS		= pop3lite-admin.texi
pop3lite_admin_TEXINFOS	= fdl.texi

INFO_DATE		= $(shell head -2 $< | tail -1 | sed -e 's/^\@c [^:]*: [^ ]* [0-9\.]* \([0-9/]*\) .*/\1/')
INFO_VERSION		= $(shell head -2 $< | tail -1 | sed -e 's/^\@c [^:]*: [^ ]* \([0-9\.]*\) .*/\1/')

MAKEINFO		= @MAKEINFO@ -D "sysconfdir $(sysconfdir)" \
			-D "pkglibdir $(pkglibdir)" -D "DATE $(INFO_DATE)" \
			-D "VERSION $(INFO_VERSION)"

ps: pop3lite-admin.ps
text: pop3lite-admin.text

pop3lite-%.text: $(srcdir)/pop3lite-%.texi
	$(MAKEINFO) --no-headers -I $(top_builldir)/doc -I $(srcdir) $< -o $@

.PHONY: html ps text


syntax highlighted by Code2HTML, v. 0.9.1