diff options
author | tsi <tsi> | 2004-12-05 06:14:43 +0000 |
---|---|---|
committer | tsi <tsi> | 2004-12-05 06:14:43 +0000 |
commit | 46f53afd08e524a90bd45bb01d11a585e94b2bca (patch) | |
tree | c28b9b233099afa731cb5bbd8e1174d75eda95f0 | |
parent | bc4c3483fc2db153399a1cee5454db41d0126845 (diff) |
Previous tweak (to deal with dangling Makefile symlinks) wasn't as portable
as I thought.
-rw-r--r-- | config/cf/Imake.rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cf/Imake.rules b/config/cf/Imake.rules index fccb59371..36826e7ed 100644 --- a/config/cf/Imake.rules +++ b/config/cf/Imake.rules @@ -1,6 +1,6 @@ XCOMM --------------------------------------------------------------------- XCOMM Imake rules for building libraries, programs, scripts, and data files -XCOMM rules: $XFree86: xc/config/cf/Imake.rules,v 3.138 2004/07/18 15:10:26 dickey Exp $ +XCOMM rules: $XFree86: xc/config/cf/Imake.rules,v 3.139tsi Exp $ /* * Copyright (c) 1994-2004 by The XFree86 Project, Inc. * All rights reserved. @@ -3295,7 +3295,7 @@ target:: @@\ imakeprefix=$$newtop/ ;; \ @@\ esac; \ @@\ RemoveFile($$i/Makefile.bak); \ @@\ - if [ -e $$i/Makefile ]; then \ @@\ + if [ -f $$i/Makefile -o -h $$i/Makefile ]; then \ @@\ echo " $(MV) Makefile Makefile.bak"; \ @@\ if [ "$$executeit" != "no" ]; then \ @@\ $(MV) $$i/Makefile $$i/Makefile.bak; \ @@\ |