aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-12-22 07:26:11 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-12-22 07:26:11 -0500
commit78ea9cda0fb76c4cc80400f15df8cd978c464c15 (patch)
tree0ac3d23146699f20d236d2b4b7ef8205f1276457 /gcc
parentaf3c5588abd4ddfd04435045fc7a526a0d1b141f (diff)
downloadgcc-78ea9cda0fb76c4cc80400f15df8cd978c464c15.zip
gcc-78ea9cda0fb76c4cc80400f15df8cd978c464c15.tar.gz
gcc-78ea9cda0fb76c4cc80400f15df8cd978c464c15.tar.bz2
(install-headers, install-headers-tar): Correctly handle directories
when $(libsubdir) is a relative path. From-SVN: r6259
Diffstat (limited to 'gcc')
-rw-r--r--gcc/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index eced0a6..61615c8 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1939,15 +1939,15 @@ install-include-dir: install-dir
# Install the include directory using tar.
install-headers-tar: stmp-headers $(STMP_FIXPROTO) install-include-dir
- cd include; \
- (tar cf - .; exit 0) | (cd $(libsubdir)/include; tar $(TAROUTOPTS) - )
+ (cd include; \
+ tar cf - .; exit 0) | (cd $(libsubdir)/include; tar $(TAROUTOPTS) - )
# /bin/sh on some systems returns the status of the first tar,
# and that can lose with GNU tar which always writes a full block.
# So use `exit 0' to ignore its exit status.
# Install the include directory using cpio.
install-headers-cpio: stmp-headers $(STMP_FIXPROTO) install-include-dir
- cd include; find . -print | cpio -pdum $(libsubdir)/include
+ (cd include; find . -print) | cpio -pdum $(libsubdir)/include
# Put assert.h where it won't override GNU libc's assert.h.
# It goes in a dir that is searched after GNU libc's headers;