diff options
| author | Geoff Voelker | 1999-02-15 22:31:13 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1999-02-15 22:31:13 +0000 |
| commit | afe298c886f92bf916f331384bf3add45c0eae7d (patch) | |
| tree | 314881f4dd3e070a60798e220e2b40191c930f28 | |
| parent | cc6d8c5b60d02946f5b5fb149a8ba9c0c670aba2 (diff) | |
| download | emacs-afe298c886f92bf916f331384bf3add45c0eae7d.tar.gz emacs-afe298c886f92bf916f331384bf3add45c0eae7d.zip | |
Create installation directory as first step.
| -rw-r--r-- | nt/makefile.nt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/nt/makefile.nt b/nt/makefile.nt index 8aba47dacb1..3b58dbcf4e2 100644 --- a/nt/makefile.nt +++ b/nt/makefile.nt | |||
| @@ -94,6 +94,9 @@ all: $(BLD) $(ALL) | |||
| 94 | $(BUILD_CMD) | 94 | $(BUILD_CMD) |
| 95 | cd ..\nt | 95 | cd ..\nt |
| 96 | 96 | ||
| 97 | $(INSTALL_DIR): | ||
| 98 | - mkdir $(INSTALL_DIR) | ||
| 99 | |||
| 97 | $(INSTALL_DIR)\bin: | 100 | $(INSTALL_DIR)\bin: |
| 98 | - mkdir $(INSTALL_DIR)\bin | 101 | - mkdir $(INSTALL_DIR)\bin |
| 99 | 102 | ||
| @@ -109,7 +112,8 @@ $(INSTALL_DIR)\bin\debug.bat: debug.bat.in | |||
| 109 | echo set emacs_dir=$(INSTALL_DIR)>> $@ | 112 | echo set emacs_dir=$(INSTALL_DIR)>> $@ |
| 110 | type debug.bat.in >> $@ | 113 | type debug.bat.in >> $@ |
| 111 | 114 | ||
| 112 | batch_files: $(INSTALL_DIR)\bin \ | 115 | batch_files: $(INSTALL_DIR) \ |
| 116 | $(INSTALL_DIR)\bin \ | ||
| 113 | $(INSTALL_DIR)\bin\emacs.bat \ | 117 | $(INSTALL_DIR)\bin\emacs.bat \ |
| 114 | $(INSTALL_DIR)\bin\debug.bat | 118 | $(INSTALL_DIR)\bin\debug.bat |
| 115 | 119 | ||
| @@ -117,8 +121,7 @@ batch_files: $(INSTALL_DIR)\bin \ | |||
| 117 | # Build and install emacs in INSTALL_DIR | 121 | # Build and install emacs in INSTALL_DIR |
| 118 | # | 122 | # |
| 119 | INSTALL_CMD = $(MAKE) -f makefile.nt install | 123 | INSTALL_CMD = $(MAKE) -f makefile.nt install |
| 120 | install: all batch_files | 124 | install: all $(INSTALL_DIR) batch_files |
| 121 | - mkdir $(INSTALL_DIR) | ||
| 122 | cd ..\lib-src | 125 | cd ..\lib-src |
| 123 | $(INSTALL_CMD) | 126 | $(INSTALL_CMD) |
| 124 | cd ..\src | 127 | cd ..\src |