comparison auto/lib/pcre/make @ 2832:d27ac70df098

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.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 11 May 2009 18:02:06 +0000
parents d201e0461c3c
children ecdc41bf2047
comparison
equal deleted inserted replaced
2831:a294cff147ec 2832:d27ac70df098
36 cat << END >> $NGX_MAKEFILE 36 cat << END >> $NGX_MAKEFILE
37 37
38 `echo "$PCRE/pcre.h: $NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"` 38 `echo "$PCRE/pcre.h: $NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"`
39 cd $ngx_pcre 39 cd $ngx_pcre
40 \$(MAKE) -f $ngx_makefile pcre.h 40 \$(MAKE) -f $ngx_makefile pcre.h
41 cd ..\\..\\.. 41 cd \$(CURDIR)
42
43 42
44 `echo "$PCRE/pcre.lib: $PCRE/pcre.h" | sed -e "s/\//$ngx_regex_dirsep/g"` 43 `echo "$PCRE/pcre.lib: $PCRE/pcre.h" | sed -e "s/\//$ngx_regex_dirsep/g"`
45 cd $ngx_pcre 44 cd $ngx_pcre
46 \$(MAKE) -f $ngx_makefile $ngx_opt 45 \$(MAKE) -f $ngx_makefile $ngx_opt
47 cd ..\\..\\.. 46 cd \$(CURDIR)
48 47
49 END 48 END
50 49
51 ;; 50 ;;
52 51