changeset 52389:3627ac63d5a9

(srcdir): Use "command.com /c cd" to produce an absolute file name of the current working directory. This avoids the warning from Make about circular dependencies.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 31 Aug 2003 16:43:54 +0000
parents b851ebbed6d8
children 649e9e970ae9
files msdos/sed3v2.inp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/msdos/sed3v2.inp	Sun Aug 31 02:11:21 2003 +0000
+++ b/msdos/sed3v2.inp	Sun Aug 31 16:43:54 2003 +0000
@@ -24,7 +24,7 @@
 /^archlibdir *=/s!=.*$!=/emacs/bin!
 /^bindir *=/s!=.*$!=/emacs/bin!
 /^libdir *=/s!=.*$!=/emacs/bin!
-/^srcdir *=/s!=.*$!=.!
+/^srcdir=/s!srcdir=@srcdir@!srcdir := $(subst \\,/,$(shell command.com /c cd))!
 /^VPATH *=/s!=.*$!=.!
 /^CFLAGS *=/s!=.*$!=-O2 -g!
 /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS!