changeset 24319:a26d4126c64b

Create installation directory as first step.
author Geoff Voelker <voelker@cs.washington.edu>
date Mon, 15 Feb 1999 22:31:13 +0000
parents 8c47fccebb58
children 5df541fa3e2b
files nt/makefile.nt
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/nt/makefile.nt	Mon Feb 15 15:14:47 1999 +0000
+++ b/nt/makefile.nt	Mon Feb 15 22:31:13 1999 +0000
@@ -94,6 +94,9 @@
 		$(BUILD_CMD)
 		cd ..\nt
 
+$(INSTALL_DIR):
+		- mkdir $(INSTALL_DIR)
+
 $(INSTALL_DIR)\bin:
 		- mkdir $(INSTALL_DIR)\bin
 
@@ -109,7 +112,8 @@
 		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 @@
 # 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