]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix previous Makefile change.
authorGlenn Morris <rgm@gnu.org>
Tue, 24 May 2011 07:06:44 +0000 (00:06 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 24 May 2011 07:06:44 +0000 (00:06 -0700)
* configure.in (OPT_MAKEFILES_IN): Use full path.
* Makefile.in (SUBDIR_MAKEFILES_IN): Use full path.
(SUBDIR_MAKEFILES): Use relative path.

Makefile.in
configure.in

index f60e70ac518ef6c784778b7ff65f73916b78fdf6..eacf6f12b72ca2648d5b7d7522d463b87c835a51 100644 (file)
@@ -268,12 +268,19 @@ SUBDIR = lib lib-src src lisp
 OPT_MAKEFILES_IN = @OPT_MAKEFILES_IN@
 
 # The subdir makefiles created by config.status.
-SUBDIR_MAKEFILES_IN = lib/Makefile.in lib-src/Makefile.in \
-  doc/emacs/Makefile.in doc/misc/Makefile.in doc/lispref/Makefile.in \
-  doc/lispintro/Makefile.in src/Makefile.in oldXMenu/Makefile.in \
-  lwlib/Makefile.in leim/Makefile.in lisp/Makefile.in $(OPT_MAKEFILES_IN)
-
-SUBDIR_MAKEFILES = $(SUBDIR_MAKEFILES_IN:.in=)
+SUBDIR_MAKEFILES_IN = $(srcdir)/lib/Makefile.in \
+  $(srcdir)/lib-src/Makefile.in \
+  $(srcdir)/doc/emacs/Makefile.in \
+  $(srcdir)/doc/misc/Makefile.in \
+  $(srcdir)/doc/lispref/Makefile.in \
+  $(srcdir)/doc/lispintro/Makefile.in \
+  $(srcdir)/src/Makefile.in \
+  $(srcdir)/oldXMenu/Makefile.in \
+  $(srcdir)/lwlib/Makefile.in \
+  $(srcdir)/leim/Makefile.in \
+  $(srcdir)/lisp/Makefile.in $(OPT_MAKEFILES_IN)
+
+SUBDIR_MAKEFILES = `echo $(SUBDIR_MAKEFILES_IN:.in=) | sed 's|$(srcdir)/||g'`
 
 # Subdirectories to install, and where they'll go.
 # lib-src's makefile knows how to install it, so we don't do that here.
index c06965ca17d05dd1b42e8dc9c9a610070d347f90..3d1eb286aa7838d0ca910d40c8dc276486b88d1d 100644 (file)
@@ -3719,7 +3719,7 @@ AC_CONFIG_FILES([Makefile lib/Makefile lib-src/Makefile oldXMenu/Makefile \
 
 dnl test/ is not present in release tarfiles.
 if test -f $srcdir/test/automated/Makefile.in; then
-  OPT_MAKEFILES_IN=test/automated/Makefile.in
+  OPT_MAKEFILES_IN="\$(srcdir)/test/automated/Makefile.in"
   AC_CONFIG_FILES([test/automated/Makefile])
 else
   OPT_MAKEFILES_IN=