OSDN Git Service

* Makefile.in: Normalize 'pwd' based on location of winsup.
authorcgf <cgf>
Thu, 31 Aug 2000 20:39:31 +0000 (20:39 +0000)
committercgf <cgf>
Thu, 31 Aug 2000 20:39:31 +0000 (20:39 +0000)
winsup/ChangeLog
winsup/Makefile.common

index 531027a..e936aad 100644 (file)
@@ -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
index 550aadd..be83ba4 100644 (file)
@@ -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