changeset 52429:780f2d29c5f1

Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-34 Create the info subdir at build-time if necessary
author Miles Bader <miles@gnu.org>
date Thu, 04 Sep 2003 16:01:15 +0000
parents 27bc8b966642
children 8ab45ba34207
files man/ChangeLog man/Makefile.in
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/man/ChangeLog	Thu Sep 04 04:00:49 2003 +0000
+++ b/man/ChangeLog	Thu Sep 04 16:01:15 2003 +0000
@@ -1,3 +1,9 @@
+2003-09-04  Miles Bader  <miles@gnu.org>
+
+	* Makefile.in (top_srcdir): New variable.
+	($(top_srcdir)/info): New rule.
+	(info): Depend on it.
+
 2003-09-03  Peter Runestig  <peter@runestig.com>
 
 	* makefile.w32-in: New file.
--- a/man/Makefile.in	Thu Sep 04 04:00:49 2003 +0000
+++ b/man/Makefile.in	Thu Sep 04 16:01:15 2003 +0000
@@ -25,6 +25,7 @@
 # utility programs is expected to be in ${srcdir}/lib-src.  This is
 # set by the configure script's `--srcdir' option.
 srcdir=@srcdir@
+top_srcdir=@top_srcdir@
 
 # Tell make where to find source files; this is needed for the makefiles.
 VPATH=@srcdir@
@@ -102,7 +103,10 @@
 	${srcdir}/ack.texi \
 	${srcdir}/kmacro.texi
 
-info: $(INFO_TARGETS)
+$(top_srcdir)/info:
+	mkdir $@
+
+info: $(top_srcdir)/info $(INFO_TARGETS)
 
 dvi: $(DVI_TARGETS)