summaryrefslogtreecommitdiff
path: root/nt/makefile.nt
diff options
context:
space:
mode:
authorGeoff Voelker <voelker@cs.washington.edu>1999-02-15 22:31:13 +0000
committerGeoff Voelker <voelker@cs.washington.edu>1999-02-15 22:31:13 +0000
commitafe298c886f92bf916f331384bf3add45c0eae7d (patch)
tree314881f4dd3e070a60798e220e2b40191c930f28 /nt/makefile.nt
parentcc6d8c5b60d02946f5b5fb149a8ba9c0c670aba2 (diff)
downloademacs-afe298c886f92bf916f331384bf3add45c0eae7d.tar.gz
Create installation directory as first step.
Diffstat (limited to 'nt/makefile.nt')
-rw-r--r--nt/makefile.nt9
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)
$(BUILD_CMD)
cd ..\nt
+$(INSTALL_DIR):
+ - mkdir $(INSTALL_DIR)
+
$(INSTALL_DIR)\bin:
- mkdir $(INSTALL_DIR)\bin
@@ -109,7 +112,8 @@ $(INSTALL_DIR)\bin\debug.bat: debug.bat.in
echo set emacs_dir=$(INSTALL_DIR)>> $@
type debug.bat.in >> $@
-batch_files: $(INSTALL_DIR)\bin \
+batch_files: $(INSTALL_DIR) \
+ $(INSTALL_DIR)\bin \
$(INSTALL_DIR)\bin\emacs.bat \
$(INSTALL_DIR)\bin\debug.bat
@@ -117,8 +121,7 @@ batch_files: $(INSTALL_DIR)\bin \
# Build and install emacs in INSTALL_DIR
#
INSTALL_CMD = $(MAKE) -f makefile.nt install
-install: all batch_files
- - mkdir $(INSTALL_DIR)
+install: all $(INSTALL_DIR) batch_files
cd ..\lib-src
$(INSTALL_CMD)
cd ..\src