projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4808d7a
)
Use relative paths in symbolic links in installed include directory
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 23 Feb 1993 23:09:10 +0000
(23:09 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 23 Feb 1993 23:09:10 +0000
(23:09 +0000)
From-SVN: r3518
gcc/Makefile.in
patch
|
blob
|
history
diff --git
a/gcc/Makefile.in
b/gcc/Makefile.in
index a3a19469f38645e3333d62c7677048f3646dcf75..3c8b3b56db2bfee21bb5553e63b57fc2fd316bf8 100644
(file)
--- a/
gcc/Makefile.in
+++ b/
gcc/Makefile.in
@@
-1588,7
+1588,7
@@
install-headers: install-include-dir $(INSTALL_HEADERS_DIR) install-assert-h
dest=`ls -ld $(libsubdir)/include/$$i | sed -n 's/.*-> //p'`; \
if expr "$$dest" : "$$dir.*" > /dev/null; then \
rm -f $(libsubdir)/include/$$i; \
- ln -s
$(libsubdir)/include
`echo "$$dest" | sed "s|$$dir||"` $(libsubdir)/include/$$i; \
+ ln -s
`echo $$i | sed "s|/[^/]*|/..|g" | sed 's|/..$$||'`
`echo "$$dest" | sed "s|$$dir||"` $(libsubdir)/include/$$i; \
fi; \
done; \
fi