* Makefile.in: Normalize 'pwd' based on location of winsup.
This commit is contained in:
parent
83a27d401a
commit
dc941354a1
|
@ -1,3 +1,7 @@
|
|||
Thu Aug 31 16:37:31 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* Makefile.in: Normalize 'pwd' based on location of winsup.
|
||||
|
||||
Thu Aug 24 15:02:26 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* Makefile.common: Add bupdir2 to reference above the i686-pc-cygwin
|
||||
|
|
|
@ -28,12 +28,13 @@ endif
|
|||
endif
|
||||
|
||||
pwd:=${shell pwd}
|
||||
ifneq (,${filter-out /%,$(pwd)})
|
||||
dummy_pwd:=${word 1,${subst winsup/,winsup ,$(pwd)}}/foo
|
||||
ifneq (,${filter-out /%,$(dummy_pwd)})
|
||||
bupdir:=..
|
||||
bupdir1:=../..
|
||||
bupdir2:=../../..
|
||||
else
|
||||
bupdir:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(pwd)):::}}
|
||||
bupdir:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(dummy_pwd)):::}}
|
||||
ifneq (,${findstring /,$(bupdir)})
|
||||
bupdir1:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(bupdir)):::}}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue