[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/doc/Attic/Makefile.am,v [branch-1_4]
From: |
Eric Blake |
Subject: |
Changes to m4/doc/Attic/Makefile.am,v [branch-1_4] |
Date: |
Thu, 06 Jul 2006 18:10:39 +0000 |
CVSROOT: /sources/m4
Module name: m4
Branch: branch-1_4
Changes by: Eric Blake <ericb> 06/07/06 18:10:38
Index: doc/Makefile.am
===================================================================
RCS file: /sources/m4/m4/doc/Attic/Makefile.am,v
retrieving revision 1.8.2.3
retrieving revision 1.8.2.4
diff -u -b -r1.8.2.3 -r1.8.2.4
--- doc/Makefile.am 7 Jun 2006 18:46:42 -0000 1.8.2.3
+++ doc/Makefile.am 6 Jul 2006 18:10:38 -0000 1.8.2.4
@@ -27,9 +27,17 @@
# Depend on configure.ac for version, m4.c for usage text. Do not depend on
# built m4 executable, since not everyone has help2man or perl.
-m4.1: $(top_srcdir)/configure.ac $(top_srcdir)/src/m4.c
+# Build the man page once in the srcdir, rather than in every VPATH build
+# dir, to match how automake builds info pages. This is safe for 'make
+# distcheck' since it is distributed pre-built.
+$(srcdir)/m4.1: $(top_srcdir)/configure.ac $(top_srcdir)/src/m4.c
@if test -x ../src/m4$(EXEEXT) ; then \
echo "Updating man page m4.1" ; \
$(SHELL) $(top_srcdir)/missing --run \
- help2man -o m4.1 ../src/m4$(EXEEXT) ; \
+ help2man -o address@hidden ../src/m4$(EXEEXT) ; \
+ cmp -s address@hidden $@ || cp address@hidden $@; \
+ rm -f address@hidden; \
+ else \
+ echo "WARNING: The \`man' page \`$@' cannot be updated yet."; \
+ echo " Retry once the program executable is ready."; \
fi
- Changes to m4/doc/Attic/Makefile.am,v [branch-1_4],
Eric Blake <=
- Changes to m4/doc/Attic/Makefile.am,v [branch-1_4], Eric Blake, 2006/07/07
- Changes to m4/doc/Attic/Makefile.am,v [branch-1_4], Eric Blake, 2006/07/11
- Changes to m4/doc/Attic/Makefile.am,v [branch-1_4], Eric Blake, 2006/07/13
- Changes to m4/doc/Attic/Makefile.am,v [branch-1_4], Eric Blake, 2006/07/27