Andreas Schwab | 23 Jun 16:05 2008
Picon

Fix building manpages

This patch fixes building manpages in a freshly checked out repository.

Andreas.

2008-06-23  Andreas Schwab  <schwab@...>

	* man/Makefile.am (common_dep): Find .version in build directory.
	(.x.1): Add $(top_srcdir)/src to PATH.
	(check-x-vs-1): Likewise.

diff --git a/man/Makefile.am b/man/Makefile.am
index a10911a..5479791 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
 <at>  <at>  -5,8 +5,8  <at>  <at>  man_aux = $(dist_man_MANS:.1=.x)
 EXTRA_DIST = $(man_aux)
 MAINTAINERCLEANFILES = $(man_MANS)

-# Depend on .version to get version number changes.
-common_dep = $(top_srcdir)/.version
+# Depend on ../.version to get version number changes.
+common_dep = ../.version

 mkid.1:		$(common_dep)	$(srcdir)/mkid.x	../src/mkid.c
 lid.1:		$(common_dep)	$(srcdir)/lid.x		../src/lid.c
 <at>  <at>  -29,7 +29,7  <at>  <at>  mapped_name = `echo $*|sed 's/install/ginstall/; s/test/[/'`
 # functions like echo, false, printf, pwd.
 .x.1:
 	 <at> echo "Updating man page $ <at> ";				\
-	PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH;	\
(Continue reading)


Gmane