From b13be6f6fb07be0120e0e3e8593ad2f9453a4764 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 1 Sep 2000 14:20:30 +0000 Subject: * Makefile.in: More normalization. --- winsup/Makefile.common | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'winsup/Makefile.common') diff --git a/winsup/Makefile.common b/winsup/Makefile.common index be83ba4..a6a2008 100644 --- a/winsup/Makefile.common +++ b/winsup/Makefile.common @@ -28,13 +28,12 @@ endif endif pwd:=${shell pwd} -dummy_pwd:=${word 1,${subst winsup/,winsup ,$(pwd)}}/foo -ifneq (,${filter-out /%,$(dummy_pwd)}) - bupdir:=.. +here:=${word 1,${subst winsup/,winsup ,$(pwd)}}/cygwin +bupdir:=${shell cd $(here)/..; pwd} +ifneq (,${filter-out /%,$(bupdir)}) bupdir1:=../.. bupdir2:=../../.. else - bupdir:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(dummy_pwd)):::}} ifneq (,${findstring /,$(bupdir)}) bupdir1:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(bupdir)):::}} else -- cgit v1.1