]> gcc.gnu.org Git - gcc.git/commitdiff
(c++.install-man): Use program_transform_name on g++.1.
authorDoug Evans <dje@gnu.org>
Fri, 18 Nov 1994 01:32:08 +0000 (01:32 +0000)
committerDoug Evans <dje@gnu.org>
Fri, 18 Nov 1994 01:32:08 +0000 (01:32 +0000)
(c++.uninstall): Likewise.

From-SVN: r8502

gcc/cp/Make-lang.in

index e47bcf480da25d551b4a905a0b205377d5f18d13..a9c3555f98ea3860d99bf3a470574bae52d97981 100644 (file)
@@ -117,8 +117,15 @@ c++.install-info:
 
 c++.install-man: $(srcdir)/cp/g++.1
        -if [ -f cc1plus ] ; then \
-         $(INSTALL_DATA) $(srcdir)/cp/g++.1 $(mandir)/g++$(manext) ; \
-         chmod a-x $(mandir)/g++$(manext) ; \
+         if [ -f g++-cross ] ; then \
+           rm -f $(mandir)/$(GXX_CROSS_NAME)$(manext); \
+           $(INSTALL_DATA) $(srcdir)/cp/g++.1 $(mandir)/$(GXX_CROSS_NAME)$(manext); \
+           chmod a-x $(mandir)/$(GXX_CROSS_NAME)$(manext); \
+         else \
+           rm -f $(mandir)/$(GXX_INSTALL_NAME)$(manext); \
+           $(INSTALL_DATA) $(srcdir)/cp/g++.1 $(mandir)/$(GXX_INSTALL_NAME)$(manext); \
+           chmod a-x $(mandir)/$(GXX_INSTALL_NAME)$(manext); \
+         fi; \
        else true; fi
 
 c++.uninstall:
@@ -126,7 +133,8 @@ c++.uninstall:
        -rm -rf $(bindir)/$(CXX_CROSS_NAME)
        -rm -rf $(bindir)/$(GXX_INSTALL_NAME)
        -rm -rf $(bindir)/$(GXX_CROSS_NAME)
-       -rm -rf $(mandir)/g++$(manext)
+       -rm -rf $(mandir)/$(GXX_INSTALL_NAME)$(manext)
+       -rm -rf $(mandir)/$(GXX_CROSS_NAME)$(manext)
 \f
 # Clean hooks:
 # A lot of the ancillary files are deleted by the main makefile.
This page took 0.061232 seconds and 5 git commands to generate.