Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-05-11 22:02:06 +0400
committerIgor Sysoev <igor@sysoev.ru>2009-05-11 22:02:06 +0400
commit3d746ac4f02807196373e641b10c8f284ccb7646 (patch)
treeebeef14e954da88c5b0e4afb6cb011e9c7fba798 /auto/lib/pcre
parentec9f47175ef9acd7299c6c0c0b707113e178bbaf (diff)
use $(CURDIR) instead of "..\..\.." because the later does not allow to use
options as --with-zlib=../zlib-1.2.3. It seems there is no common way to learn the current directory in Win32 make's: although nmake has MAKEDIR variable, nevertheless Borland make's MAKEDIR is the directory where make is installed, and OpenWatcom wmake has no MAKEDIR at all.
Diffstat (limited to 'auto/lib/pcre')
-rw-r--r--auto/lib/pcre/make5
1 files changed, 2 insertions, 3 deletions
diff --git a/auto/lib/pcre/make b/auto/lib/pcre/make
index 219b52d73..ee5aff635 100644
--- a/auto/lib/pcre/make
+++ b/auto/lib/pcre/make
@@ -38,13 +38,12 @@ case "$NGX_PLATFORM" in
`echo "$PCRE/pcre.h: $NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"`
cd $ngx_pcre
\$(MAKE) -f $ngx_makefile pcre.h
- cd ..\\..\\..
-
+ cd \$(CURDIR)
`echo "$PCRE/pcre.lib: $PCRE/pcre.h" | sed -e "s/\//$ngx_regex_dirsep/g"`
cd $ngx_pcre
\$(MAKE) -f $ngx_makefile $ngx_opt
- cd ..\\..\\..
+ cd \$(CURDIR)
END