aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/cf
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-10-28 15:19:10 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-10-29 10:31:33 +0200
commit2f2a5a920dd2446d93f965fd9de9c7e4fd172ecf (patch)
tree3780e5b53992fbd1d2adec88b32de483ee65de53 /nx-X11/config/cf
parentecd335fa61551d0b86d3f075469a7743ab899d95 (diff)
downloadnx-libs-2f2a5a920dd2446d93f965fd9de9c7e4fd172ecf.tar.gz
nx-libs-2f2a5a920dd2446d93f965fd9de9c7e4fd172ecf.tar.bz2
nx-libs-2f2a5a920dd2446d93f965fd9de9c7e4fd172ecf.zip
Imake.rules: Make BuildIncludes{,Top}() more robust in case people attempt providing path names instead of file names via srclist.
Fixes ArcticaProject/nx-libs#223. Fixes ArcticaProject/nx-libs#244.
Diffstat (limited to 'nx-X11/config/cf')
-rw-r--r--nx-X11/config/cf/Imake.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/config/cf/Imake.rules b/nx-X11/config/cf/Imake.rules
index f782f964b..7fffe5e31 100644
--- a/nx-X11/config/cf/Imake.rules
+++ b/nx-X11/config/cf/Imake.rules
@@ -569,7 +569,7 @@ install:: @@\
includes:: srclist @@\
MakeDir($(BUILDINCDIR)) @@\
@(set -x; cd $(BUILDINCDIR) && for i in srclist; do \ @@\
- RemoveFile($$i); \ @@\
+ RemoveFile(`basename $$i`); \ @@\
$(LN) $(BUILDINCTOP)/$(CURRENT_DIR)/$$i .; \ @@\
done)
#endif /* BuildIncludesTop */
@@ -579,7 +579,7 @@ includes:: srclist @@\
includes:: srclist @@\
MakeDir($(BUILDINCDIR)/dstsubdir) @@\
@(set -x; cd $(BUILDINCDIR)/dstsubdir && for i in srclist; do \ @@\
- RemoveFile($$i); \ @@\
+ RemoveFile(`basename $$i`); \ @@\
$(LN) $(BUILDINCTOP)/dstupdir/$(CURRENT_DIR)/$$i .; \ @@\
done)
#endif /* BuildIncludes */