aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/Make-lang.in
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2004-01-10 01:30:39 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2004-01-10 01:30:39 +0000
commitc90501d0fd28b6f4c3ea0fb91124822022b50675 (patch)
treee25e882d0d49308e0927caee9e6e2394563bc767 /gcc/cp/Make-lang.in
parent731bd3ae02401f802d57e686814594ae4139a334 (diff)
downloadgcc-c90501d0fd28b6f4c3ea0fb91124822022b50675.zip
gcc-c90501d0fd28b6f4c3ea0fb91124822022b50675.tar.gz
gcc-c90501d0fd28b6f4c3ea0fb91124822022b50675.tar.bz2
re PR bootstrap/7817 (Link to gcc man page in g++ man page incorrect)
PR bootstrap/7817 * Make-lang.in: Copy gcc.1 to g++.1 rather than using .so. From-SVN: r75620
Diffstat (limited to 'gcc/cp/Make-lang.in')
-rw-r--r--gcc/cp/Make-lang.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
index 1947311..5c8bffc 100644
--- a/gcc/cp/Make-lang.in
+++ b/gcc/cp/Make-lang.in
@@ -154,9 +154,10 @@ c++.install-common: installdirs
fi ; \
fi
-$(docobjdir)/g++.1:
- -rm -f $@
- -echo ".so man1/$(GCC_INSTALL_NAME).1" > $@
+# We can't use links because not everyone supports them, and we can't use
+# .so because Irix 6.5 doesn't support them. So just copy the manpage.
+$(docobjdir)/g++.1: $(docobjdir)/gcc.1
+ cp $(docobjdir)/gcc.1 $(docobjdir)/g++.1
c++.install-man: installdirs $(docobjdir)/g++.1
-if [ -f cc1plus$(exeext) ] ; then \