From 3b57ab8fcd640a9953f876260754f41a934515fb Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 4 Nov 2006 12:00:20 +0000 Subject: [PATCH] (../src/$(BLD)/temacs.exe): Create as temporary file if it doesn't already exist. --- lib-src/makefile.w32-in | 9 +++++++++ 1 file changed, 9 insertions(+) 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) -- 2.39.2