From: Eli Zaretskii Date: Sat, 4 Nov 2006 12:00:20 +0000 (+0000) Subject: (../src/$(BLD)/temacs.exe): Create as temporary file if it doesn't already X-Git-Tag: emacs-pretest-22.0.91~353 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3b57ab8fcd640a9953f876260754f41a934515fb;p=emacs.git (../src/$(BLD)/temacs.exe): Create as temporary file if it doesn't already exist. --- diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in index d1d764bcdec..338ac4528de 100644 --- a/lib-src/makefile.w32-in +++ b/lib-src/makefile.w32-in @@ -276,6 +276,15 @@ lisp2 = \ $(lispsource)window.elc \ $(lispsource)version.el +# This is needed the first time we build the tree, since temacs.exe +# does not exist yet, and the DOC rule needs it to rebuild DOC whenever +# Emacs is rebuilt. +../src/$(BLD)/temacs.exe: + - mkdir "../src/$(OBJDIR)" + - mkdir "../src/$(BLD)" + @echo temacs > temacs.exe + $(CP) temacs.exe ../src/$(BLD) + - $(DEL) temacs.exe DOC = DOC $(DOC): $(BLD) $(BLD)/make-docfile.exe ../src/$(BLD)/temacs.exe $(lisp1) $(lisp2)