[gnu.gcc.bug] Small bug in gcc Makefile + FIX

casey@gauss.llnl.gov (Casey Leedom) (12/23/88)

  The gcc Makefile doesn't install the gcc.1 manual page correctly.

Casey

-----
*** Makefile-dist	Thu Dec 22 06:58:57 1988
--- Makefile	Thu Dec 22 08:13:57 1988
***************
*** 35,41 ****
  # Directory in which to put the subprograms used by the compiler.
  libdir = $(prefix)/usr/local/lib
  # Directory in which to put man pages.
  mandir = $(prefix)/usr/local/man/man1
  
  # These are what you would need on HPUX:
  # CFLAGS = -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300
--- 35,42 ----
  # Directory in which to put the subprograms used by the compiler.
  libdir = $(prefix)/usr/local/lib
  # Directory in which to put man pages.
  mandir = $(prefix)/usr/local/man/man1
+ manext = 1
  
  # These are what you would need on HPUX:
  # CFLAGS = -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300
***************
*** 441,447 ****
  	chmod ugo+rx $(libdir)/gcc-include
  	cd $(libdir)/gcc-include; rm -f $(USER_H)
  	cp $(USER_H) $(libdir)/gcc-include
! 	cp gcc.1 mandir
  
  # do make -f ../gcc/Makefile maketest DIR=../gcc
  # in the intended test directory to make it a suitable test directory.
--- 442,448 ----
  	chmod ugo+rx $(libdir)/gcc-include
  	cd $(libdir)/gcc-include; rm -f $(USER_H)
  	cp $(USER_H) $(libdir)/gcc-include
! 	cp gcc.1 $(mandir)/gcc.$(manext)
  
  # do make -f ../gcc/Makefile maketest DIR=../gcc
  # in the intended test directory to make it a suitable test directory.