## -*-makefile-*-
##
-## $Id: Makefile.am,v 1.3 2003/04/23 13:53:20 mdw Exp $
+## $Id$
##
## Makefile for TrIPE documentation
##
## 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.
-##
+##
## TrIPE 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 TrIPE; if not, write to the Free Software Foundation,
## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-##----- Revision history ----------------------------------------------------
-##
-## $Log: Makefile.am,v $
-## Revision 1.3 2003/04/23 13:53:20 mdw
-## New manpage for pkstream.
-##
-## Revision 1.2 2001/02/22 09:11:42 mdw
-## Distribute the manpages.
-##
-## Revision 1.1 2001/02/22 09:07:29 mdw
-## Build documents now.
-##
-
AUTOMAKE_OPTIONS = foreign
-man_MANS = tripe.8 tripectl.1 tripe-admin.5 pkstream.1
-EXTRA_DIST = $(man_MANS)
+CONST_MANS = pkstream.1 tripe-mitm.8
+AUTO_MANS = tripe.8 tripectl.1
+man_MANS = \
+ $(CONST_MANS) $(AUTO_MANS) tripe-admin.5 \
+ @pymans@ @pygtkmans@
+
+PYTHONMANS = tripe-keys.8 tripe-keys.conf.5
+PYGTKMANS = tripemon.1.in
+EXTRA_DIST = \
+ $(CONST_MANS) tripe-admin.5.in $(PYTHONMANS) $(PYGTKMANS) \
+ make-summary
+
+tripe-admin.5: tripe-admin.5.in make-summary
+ awk -f $(srcdir)/make-summary <$(srcdir)/tripe-admin.5.in >$@.new
+ mv $@.new $@
##----- That's all, folks ---------------------------------------------------