chiark / gitweb /
Infrastructure: Get it building again, using pkg-config.
[tripe] / doc / Makefile.am
index 40bb6afe626863d1658de8e519aa2e80ee63ecc0..c051ffd998e53695113d2acd66fe403b3cacfa52 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-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
+PYTHONMANS = tripe-keys.8 tripe-keys.conf.5
+PYGTKMANS = tripemon.1
+man_MANS = \
+       $(CONST_MANS) $(AUTO_MANS) tripe-admin.5 \
+       @pymans@ @pygtkmans@
+
+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 ---------------------------------------------------