diff nt/xemacs.mak @ 3054:f4a678ca6f3d

[xemacs-hg @ 2005-11-10 15:45:13 by crestani] Fix build output directory structure.
author crestani
date Thu, 10 Nov 2005 15:45:13 +0000
parents fe94f59a2773
children 141c2920ea48
line wrap: on
line diff
--- a/nt/xemacs.mak	Wed Nov 09 22:51:10 2005 +0000
+++ b/nt/xemacs.mak	Thu Nov 10 15:45:13 2005 +0000
@@ -97,6 +97,8 @@
 
 ########################### Figure out current version of VC++.
 
+!if [if not exist $(OUTDIR) mkdir "$(OUTDIR)"]
+!endif
 !if [echo MSC_VER=_MSC_VER > $(OUTDIR)\vcversion.c]
 !endif
 !if [cl /nologo /EP $(OUTDIR)\vcversion.c > $(OUTDIR)\vcversion.tmp]
@@ -936,7 +938,7 @@
 # Whether to use dependency information generated by make-src-depend
 #
 !if $(DEPEND) && exist("$(SRC)\depend")
-! if [if not exist $(OUTDIR)\nul mkdir "$(OUTDIR)"]
+! if [if not exist $(OUTDIR) mkdir "$(OUTDIR)"]
 ! endif
 # This perl script used to be inline but that caused too many quoting problems
 ! if [perl $(NT)\make-nt-depend -s=$(SRC) -c=$(NT) -o=$(OUTDIR) < $(SRC)\depend > $(OUTDIR)\depend.tmp]
@@ -953,18 +955,18 @@
 !if $(SEPARATE_BUILD)
 # #### `if not exist' does not like the quotes around file names.
 # But what if one of them has spaces?  Fucking Microsoft!
-! if [if not exist $(BLDROOT)\nul mkdir "$(BLDROOT)"]
+! if [if not exist $(BLDROOT) mkdir "$(BLDROOT)"]
 ! endif
-! if [if not exist $(BLDLIB_SRC)\nul mkdir "$(BLDLIB_SRC)"]
+! if [if not exist $(BLDLIB_SRC) mkdir "$(BLDLIB_SRC)"]
 ! endif
-! if [if not exist $(BLDNT)\nul mkdir "$(BLDNT)"]
+! if [if not exist $(BLDNT) mkdir "$(BLDNT)"]
 ! endif
-! if [if not exist $(OUTDIR)\nul mkdir "$(OUTDIR)"]
+! if [if not exist $(OUTDIR) mkdir "$(OUTDIR)"]
 ! endif
-! if [if not exist $(BLDSRC)\nul mkdir "$(BLDSRC)"]
+! if [if not exist $(BLDSRC) mkdir "$(BLDSRC)"]
 ! endif
 # No point.
-# ! if [if not exist "$(BLDROOT)\nul" mkdir "$(BLDROOT)"]
+# ! if [if not exist "$(BLDROOT)" mkdir "$(BLDROOT)"]
 # ! endif
 !endif
 
@@ -987,7 +989,7 @@
 
 ###################### Generated source files
 
-$(OUTDIR)\nul:
+$(OUTDIR):
 	-@mkdir $(OUTDIR)
 
 XEMACS_INCLUDES=\
@@ -1310,7 +1312,7 @@
 ## and update-elc-2 due to the sideways dependency of NEEDTODUMP.  See
 ## src/Makefile.in.in for a more detailed discussion of this.
 
-all:	installation $(OUTDIR)\nul $(LIB_SRC_TOOLS) \
+all:	installation $(OUTDIR) $(LIB_SRC_TOOLS) \
 	update-elc update-elc-2 \
 	$(LISP)/finder-inf.el load-shadows info