From: Miles Bader Date: Thu, 4 Sep 2003 16:01:15 +0000 (+0000) Subject: Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-34 X-Git-Tag: ttn-vms-21-2-B4~8904 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=36fcdbf62a16452bfeda9a415e98baa5a4ad3164;p=emacs.git Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-34 Create the info subdir at build-time if necessary --- diff --git a/man/ChangeLog b/man/ChangeLog index 849c656fcb5..b1746ac32d0 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -1,3 +1,9 @@ +2003-09-04 Miles Bader + + * Makefile.in (top_srcdir): New variable. + ($(top_srcdir)/info): New rule. + (info): Depend on it. + 2003-09-03 Peter Runestig * makefile.w32-in: New file. diff --git a/man/Makefile.in b/man/Makefile.in index 2d3014c6dce..fc0729a56b2 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -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 @@ EMACSSOURCES= \ ${srcdir}/ack.texi \ ${srcdir}/kmacro.texi -info: $(INFO_TARGETS) +$(top_srcdir)/info: + mkdir $@ + +info: $(top_srcdir)/info $(INFO_TARGETS) dvi: $(DVI_TARGETS)