From bbc2d90e8c8343a5274d3a22f3436f7d8452a403 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 31 Aug 2003 16:44:25 +0000 Subject: [PATCH] (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. --- msdos/ChangeLog | 6 ++++++ msdos/sed3v2.inp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/msdos/ChangeLog b/msdos/ChangeLog index 9cce78fa303..dc4772ec98c 100644 --- a/msdos/ChangeLog +++ b/msdos/ChangeLog @@ -1,3 +1,9 @@ +2003-08-31 Eli Zaretskii + + * sed3v2.inp (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. + 2003-08-30 Eli Zaretskii * sedlisp.inp: Set FNCASE=y for all targets in the lisp directory, diff --git a/msdos/sed3v2.inp b/msdos/sed3v2.inp index c856ad77ae6..0390ee39e01 100644 --- a/msdos/sed3v2.inp +++ b/msdos/sed3v2.inp @@ -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!