]> git.eshelyaron.com Git - emacs.git/commitdiff
Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-34
authorMiles Bader <miles@gnu.org>
Thu, 4 Sep 2003 16:01:15 +0000 (16:01 +0000)
committerMiles Bader <miles@gnu.org>
Thu, 4 Sep 2003 16:01:15 +0000 (16:01 +0000)
Create the info subdir at build-time if necessary

man/ChangeLog
man/Makefile.in

index 849c656fcb511869895c3956879f1dcf5048624d..b1746ac32d0ef147b06afe3a9695d1dd6ad4de24 100644 (file)
@@ -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.
index 2d3014c6dced831f61b395c310a7e0d383b8871d..fc0729a56b23e687a08b48624af5fbae4b1da49b 100644 (file)
@@ -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)