diff options
| author | Eli Zaretskii | 2006-11-04 12:00:20 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-11-04 12:00:20 +0000 |
| commit | 3b57ab8fcd640a9953f876260754f41a934515fb (patch) | |
| tree | a8e5625412c7424dbf4fdd9363bc1abe9826aa63 /lib-src | |
| parent | d0974190eac568c7873df8b708821edb28f49f19 (diff) | |
| download | emacs-3b57ab8fcd640a9953f876260754f41a934515fb.tar.gz emacs-3b57ab8fcd640a9953f876260754f41a934515fb.zip | |
(../src/$(BLD)/temacs.exe): Create as temporary file if it doesn't already
exist.
Diffstat (limited to 'lib-src')
| -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 = \ | |||
| 276 | $(lispsource)window.elc \ | 276 | $(lispsource)window.elc \ |
| 277 | $(lispsource)version.el | 277 | $(lispsource)version.el |
| 278 | 278 | ||
| 279 | # This is needed the first time we build the tree, since temacs.exe | ||
| 280 | # does not exist yet, and the DOC rule needs it to rebuild DOC whenever | ||
| 281 | # Emacs is rebuilt. | ||
| 282 | ../src/$(BLD)/temacs.exe: | ||
| 283 | - mkdir "../src/$(OBJDIR)" | ||
| 284 | - mkdir "../src/$(BLD)" | ||
| 285 | @echo temacs > temacs.exe | ||
| 286 | $(CP) temacs.exe ../src/$(BLD) | ||
| 287 | - $(DEL) temacs.exe | ||
| 279 | 288 | ||
| 280 | DOC = DOC | 289 | DOC = DOC |
| 281 | $(DOC): $(BLD) $(BLD)/make-docfile.exe ../src/$(BLD)/temacs.exe $(lisp1) $(lisp2) | 290 | $(DOC): $(BLD) $(BLD)/make-docfile.exe ../src/$(BLD)/temacs.exe $(lisp1) $(lisp2) |