summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjulien.pierre.boogz%sun.com <devnull@localhost>2007-12-13 03:13:36 +0000
committerjulien.pierre.boogz%sun.com <devnull@localhost>2007-12-13 03:13:36 +0000
commit53fcd1eebc7c400b284b5cbe23d3dc5a7265d9aa (patch)
treeaade6996ccb5a40d07245003ddd6cc901ad126c4
parentcf7df86f203be3407a73927030f432aaea80b523 (diff)
downloadnspr-hg-53fcd1eebc7c400b284b5cbe23d3dc5a7265d9aa.tar.gz
Fix for bug 406862 . Make NSPR release target work with MSYS.
-rw-r--r--Makefile.in4
-rwxr-xr-xconfig/prmkdir.bat38
2 files changed, 2 insertions, 40 deletions
diff --git a/Makefile.in b/Makefile.in
index 42f07dd7..c80d24a8 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -112,12 +112,12 @@ ifeq ($(OS_ARCH),WINNT)
@if test ! -d $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER); then \
rm -rf $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER); \
echo "making directory $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)"; \
- $(topsrcdir)/config/prmkdir.bat $(MDIST_DOS)\\$(MOD_NAME)\\$(BUILD_NUMBER); \
+ mkdir -p $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER); \
fi
@if test ! -d $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME); then \
rm -rf $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME); \
echo "making directory $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME)"; \
- $(topsrcdir)/config/prmkdir.bat $(MDIST_DOS)\\$(MOD_NAME)\\$(BUILD_NUMBER)\\$(RELEASE_OBJDIR_NAME); \
+ mkdir -p $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME); \
fi
else
@if test ! -d $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER); then \
diff --git a/config/prmkdir.bat b/config/prmkdir.bat
deleted file mode 100755
index 9bea8553..00000000
--- a/config/prmkdir.bat
+++ /dev/null
@@ -1,38 +0,0 @@
-REM
-REM ***** BEGIN LICENSE BLOCK *****
-REM Version: MPL 1.1/GPL 2.0/LGPL 2.1
-REM
-REM The contents of this file are subject to the Mozilla Public License Version
-REM 1.1 (the "License"); you may not use this file except in compliance with
-REM the License. You may obtain a copy of the License at
-REM http://www.mozilla.org/MPL/
-REM
-REM Software distributed under the License is distributed on an "AS IS" basis,
-REM WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-REM for the specific language governing rights and limitations under the
-REM License.
-REM
-REM The Original Code is the Netscape Portable Runtime (NSPR).
-REM
-REM The Initial Developer of the Original Code is
-REM Netscape Communications Corporation.
-REM Portions created by the Initial Developer are Copyright (C) 1998-2000
-REM the Initial Developer. All Rights Reserved.
-REM
-REM Contributor(s):
-REM
-REM Alternatively, the contents of this file may be used under the terms of
-REM either the GNU General Public License Version 2 or later (the "GPL"), or
-REM the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-REM in which case the provisions of the GPL or the LGPL are applicable instead
-REM of those above. If you wish to allow use of your version of this file only
-REM under the terms of either the GPL or the LGPL, and not to allow others to
-REM use your version of this file under the terms of the MPL, indicate your
-REM decision by deleting the provisions above and replace them with the notice
-REM and other provisions required by the GPL or the LGPL. If you do not delete
-REM the provisions above, a recipient may use your version of this file under
-REM the terms of any one of the MPL, the GPL or the LGPL.
-REM
-REM ***** END LICENSE BLOCK *****
-
-mkdir %1