This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Use libsubdir, not prefix, for lang-f77


Committed, to mainline and release branch.

        tq vm, (burley)


Fri Jun  4 13:56:56 1999  Craig Burley  <craig@jcb-sc.com>

	* Make-lang.in: Use libsubdir, not prefix, to store
	temporary lang-f77 `flag' file.

*** g77-e/gcc/f/Make-lang.in.~1~	Sat Apr 17 07:09:19 1999
--- g77-e/gcc/f/Make-lang.in	Fri Jun  4 13:56:11 1999
*************** f77.install-normal:
*** 311,318 ****
  f77.install-common:
  	case "$(LANGUAGES)" in \
! 	  *[fF]77*) touch $(prefix)/lang-f77;; \
! 	  *) rm -f $(prefix)/lang-f77;; \
  	esac
! 	-if [ -f $(prefix)/lang-f77 -a -f f771$(exeext) ] ; then \
  	  if [ -f g77-cross$(exeext) ] ; then \
  	    rm -f $(bindir)/$(G77_CROSS_NAME)$(exeext); \
--- 311,318 ----
  f77.install-common:
  	case "$(LANGUAGES)" in \
! 	  *[fF]77*) touch $(libsubdir)/lang-f77;; \
! 	  *) rm -f $(libsubdir)/lang-f77;; \
  	esac
! 	-if [ -f $(libsubdir)/lang-f77 -a -f f771$(exeext) ] ; then \
  	  if [ -f g77-cross$(exeext) ] ; then \
  	    rm -f $(bindir)/$(G77_CROSS_NAME)$(exeext); \
*************** f77.install-common:
*** 334,338 ****
  	  echo ''; \
  	else true; fi
! 	rm -f $(prefix)/lang-f77
  
  # $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
--- 334,338 ----
  	  echo ''; \
  	else true; fi
! 	rm -f $(libsubdir)/lang-f77
  
  # $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
*************** f77.install-common:
*** 340,347 ****
  f77.install-info: f77.info
  	case "$(LANGUAGES)" in \
! 	  *[fF]77*) touch $(prefix)/lang-f77;; \
! 	  *) rm -f $(prefix)/lang-f77;; \
  	esac
! 	if [ -f $(prefix)/lang-f77 -a -f f/g77.info ] ; then \
  	  rm -f $(infodir)/g77.info*; \
  	  for f in f/g77.info*; do \
--- 340,347 ----
  f77.install-info: f77.info
  	case "$(LANGUAGES)" in \
! 	  *[fF]77*) touch $(libsubdir)/lang-f77;; \
! 	  *) rm -f $(libsubdir)/lang-f77;; \
  	esac
! 	if [ -f $(libsubdir)/lang-f77 -a -f f/g77.info ] ; then \
  	  rm -f $(infodir)/g77.info*; \
  	  for f in f/g77.info*; do \
*************** f77.install-info: f77.info
*** 351,355 ****
  	  chmod a-x $(infodir)/g77.info*; \
  	else true; fi
! 	@if [ -f $(prefix)/lang-f77 -a -f $(srcdir)/f/g77.info ] ; then \
  	  if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
  	    echo " install-info --info-dir=$(infodir) $(infodir)/g77.info"; \
--- 351,355 ----
  	  chmod a-x $(infodir)/g77.info*; \
  	else true; fi
! 	@if [ -f $(libsubdir)/lang-f77 -a -f $(srcdir)/f/g77.info ] ; then \
  	  if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
  	    echo " install-info --info-dir=$(infodir) $(infodir)/g77.info"; \
*************** f77.install-info: f77.info
*** 357,368 ****
  	  else : ; fi; \
  	else : ; fi
! 	rm -f $(prefix)/lang-f77
  
  f77.install-man: $(srcdir)/f/g77.1
  	case "$(LANGUAGES)" in \
! 	  *[fF]77*) touch $(prefix)/lang-f77;; \
! 	  *) rm -f $(prefix)/lang-f77;; \
  	esac
! 	-if [ -f $(prefix)/lang-f77 -a -f f771$(exeext) ] ; then \
  	  if [ -f g77-cross$(exeext) ] ; then \
  	    rm -f $(man1dir)/$(G77_CROSS_NAME)$(manext); \
--- 357,368 ----
  	  else : ; fi; \
  	else : ; fi
! 	rm -f $(libsubdir)/lang-f77
  
  f77.install-man: $(srcdir)/f/g77.1
  	case "$(LANGUAGES)" in \
! 	  *[fF]77*) touch $(libsubdir)/lang-f77;; \
! 	  *) rm -f $(libsubdir)/lang-f77;; \
  	esac
! 	-if [ -f $(libsubdir)/lang-f77 -a -f f771$(exeext) ] ; then \
  	  if [ -f g77-cross$(exeext) ] ; then \
  	    rm -f $(man1dir)/$(G77_CROSS_NAME)$(manext); \
*************** f77.install-man: $(srcdir)/f/g77.1
*** 375,386 ****
  	  fi; \
  	else true; fi
! 	rm -f $(prefix)/lang-f77
  
  f77.uninstall:
  	case "$(LANGUAGES)" in \
! 	  *[fF]77*) touch $(prefix)/lang-f77;; \
! 	  *) rm -f $(prefix)/lang-f77;; \
  	esac
! 	@if [ -f $(prefix)/lang-f77 ] ; then \
  	  if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
  	    echo " install-info --delete --info-dir=$(infodir) $(infodir)/g77.info"; \
--- 375,386 ----
  	  fi; \
  	else true; fi
! 	rm -f $(libsubdir)/lang-f77
  
  f77.uninstall:
  	case "$(LANGUAGES)" in \
! 	  *[fF]77*) touch $(libsubdir)/lang-f77;; \
! 	  *) rm -f $(libsubdir)/lang-f77;; \
  	esac
! 	@if [ -f $(libsubdir)/lang-f77 ] ; then \
  	  if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
  	    echo " install-info --delete --info-dir=$(infodir) $(infodir)/g77.info"; \
*************** f77.uninstall:
*** 388,392 ****
  	  else : ; fi; \
  	else : ; fi
! 	-if [ -f $(prefix)/lang-f77 ]; then \
  	  rm -rf $(bindir)/$(G77_INSTALL_NAME)$(exeext); \
  	  rm -rf $(bindir)/$(G77_CROSS_NAME)$(exeext); \
--- 388,392 ----
  	  else : ; fi; \
  	else : ; fi
! 	-if [ -f $(libsubdir)/lang-f77 ]; then \
  	  rm -rf $(bindir)/$(G77_INSTALL_NAME)$(exeext); \
  	  rm -rf $(bindir)/$(G77_CROSS_NAME)$(exeext); \
*************** f77.uninstall:
*** 395,399 ****
  	  rm -rf $(infodir)/g77.info*; \
  	fi
! 	rm -f $(prefix)/lang-f77
  #
  # Clean hooks:
--- 395,399 ----
  	  rm -rf $(infodir)/g77.info*; \
  	fi
! 	rm -f $(libsubdir)/lang-f77
  #
  # Clean hooks:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]