diff options
author | Eli Zaretskii <eliz@gnu.org> | 2006-11-04 12:00:20 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2006-11-04 12:00:20 +0000 |
commit | 3b57ab8fcd640a9953f876260754f41a934515fb (patch) | |
tree | a8e5625412c7424dbf4fdd9363bc1abe9826aa63 /lib-src/makefile.w32-in | |
parent | d0974190eac568c7873df8b708821edb28f49f19 (diff) | |
download | emacs-3b57ab8fcd640a9953f876260754f41a934515fb.tar.gz |
(../src/$(BLD)/temacs.exe): Create as temporary file if it doesn't already
exist.
Diffstat (limited to 'lib-src/makefile.w32-in')
-rw-r--r-- | lib-src/makefile.w32-in | 9 |
1 files changed, 9 insertions, 0 deletions
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) |