2005-01-29 Stepan Kasal * man/Makefile.am (.x.1): Make sure the required generated files are up to date, applying the technique described in: http://www.gnu.org/software/automake/manual/html_node/distcleancheck.html Index: man/Makefile.am =================================================================== RCS file: /cvsroot/autoconf/autoconf/man/Makefile.am,v retrieving revision 1.20 diff -u -r1.20 Makefile.am --- man/Makefile.am 29 Dec 2004 06:54:44 -0000 1.20 +++ man/Makefile.am 29 Jan 2005 11:09:05 -0000 @@ -1,7 +1,7 @@ ## Process this file with automake to create Makefile.in -*-Makefile-*- ## Makefile for Autoconf. -## Copyright (C) 2001, 2004 Free Software Foundation, Inc. +## Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. ## 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 @@ -50,10 +50,14 @@ SUFFIXES = .x .1 .x.1: + @case $* in */config.*) ;; *) p=`echo '$*' | sed 's,.*/,,'` && \ + ( cd $(top_builddir)/bin && $(MAKE) $(AM_MAKEFLAGS) $$p ) && \ + cd $(top_builddir)/tests && $(MAKE) $(AM_MAKEFLAGS) $$p ;; \ + esac echo "Updating man page $@" PATH="$(top_builddir)/address@hidden@$(top_srcdir)/address@hidden@$$PATH"; \ export PATH; \ $(HELP2MAN) \ --include=$*.x \ --include=$(srcdir)/common.x \ - --output=$@ `echo "$*" | sed 's,^$(srcdir)/,,'` + --output=$@ `echo '$*' | sed 's,.*/,,'`