Fwd: A couple of missing directories if configure.js is forgotten.

[email protected] (Richard Quadling)
Newsgroups php.internals.win
Message-ID <CAKUjMCW3b3a=8Q5-VSXv1KyZZq6QC3XbjPDiy=KJo22PNqDW=g@mail.gmail.com>
Sorry. For Windows Internals.


---------- Forwarded message ----------
From: Richard Quadling <[email protected]>
Date: 15 September 2011 15:20
Subject: A couple of missing directories if configure.js is forgotten.
To: PHP internals <[email protected]>


Hi.

Sometimes I remove Release prior to nmake to make sure everything builds clean.

2 directories fail to get build

Release\win32
Release\devel

The attached patch fixes that.

Index: win32/build/Makefile
===================================================================
--- win32/build/Makefile        (revision 316815)
+++ win32/build/Makefile        (working copy)
@@ -91,7 +91,7 @@
       @echo Recreating build dirs
       @if not exist $(BUILD_DIR) mkdir $(BUILD_DIR)
       @cd $(BUILD_DIR)
-       @for %D in ($(BUILD_DIRS_SUB)) do @if not exist %D @mkdir %D > NUL
+       @for %D in ($(BUILD_DIRS_SUB) devel win32) do @if not exist %D
@mkdir %D > NUL
       @if not exist $(BUILD_DIR_DEV) @mkdir $(BUILD_DIR_DEV) > NUL
       @cd "$(PHP_SRC_DIR)"



Richard.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea



-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea
MissingDirs.patch.txt (text/plain, 538 B)
Index: win32/build/Makefile
===================================================================
--- win32/build/Makefile	(revision 316815)
+++ win32/build/Makefile	(working copy)
@@ -91,7 +91,7 @@
 	@echo Recreating build dirs
 	@if not exist $(BUILD_DIR) mkdir $(BUILD_DIR)
 	@cd $(BUILD_DIR)
-	@for %D in ($(BUILD_DIRS_SUB)) do @if not exist %D @mkdir %D > NUL
+	@for %D in ($(BUILD_DIRS_SUB) devel win32) do @if not exist %D @mkdir %D > NUL
 	@if not exist $(BUILD_DIR_DEV) @mkdir $(BUILD_DIR_DEV) > NUL
 	@cd "$(PHP_SRC_DIR)"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.