From cee4acda703aad2cd6f403bd31cebe1bc06a1a70 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 24 May 2011 00:06:44 -0700 Subject: [PATCH] Fix previous Makefile change. * configure.in (OPT_MAKEFILES_IN): Use full path. * Makefile.in (SUBDIR_MAKEFILES_IN): Use full path. (SUBDIR_MAKEFILES): Use relative path. --- Makefile.in | 19 +++++++++++++------ configure.in | 2 +- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/Makefile.in b/Makefile.in index f60e70ac518..eacf6f12b72 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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. diff --git a/configure.in b/configure.in index c06965ca17d..3d1eb286aa7 100644 --- a/configure.in +++ b/configure.in @@ -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= -- 2.39.2