public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* [haible@ilog.fr: [patch] make install]
@ 1998-01-07 12:03 Craig Burley
  1998-01-20  7:07 ` Jeffrey A Law
  0 siblings, 1 reply; 6+ messages in thread
From: Craig Burley @ 1998-01-07 12:03 UTC (permalink / raw)
  To: egcs

[Is this a reasonable thing for language to do, in general?  If so,
it might be worth considering for all of them.]


------- Start of forwarded message -------
From: Bruno Haible <haible@ilog.fr>
Date: Wed, 7 Jan 1998 18:40:59 +0100 (MET)
To: Craig Burley <burley@gnu.ai.mit.edu>
Subject: [patch] make install


Hi,

When I take the full egcs snapshot, configure it in a separate directory,
change the LANGUAGES line in the Makefile to not include "f77", then
"make" will succeed but "make install" will fail because it tries to
install the nonexistent file "f/g77.info*". Here is a fix:


Wed Jan  7 12:05:51 1998  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>

        * Make-lang.in (f77.install-info): Don't fail if the info files
          don't exist.

*** egcs-971225/gcc/f/Make-lang.in.bak	Tue Dec  2 17:54:03 1997
- --- egcs-971225/gcc/f/Make-lang.in	Wed Jan  7 12:03:16 1998
***************
*** 484,493 ****
  # to do the install.  The sed rule was copied from stmp-int-hdrs.
  f77.install-info: f77.info
  	-rm -f $(infodir)/g77.info*
! 	for f in f/g77.info*; do \
  	    realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
  	    $(INSTALL_DATA) $$f $(infodir)/$$realfile; \
! 	done
  	-chmod a-x $(infodir)/g77.info*
  
  f77.install-man: $(srcdir)/f/g77.1
- --- 484,495 ----
  # to do the install.  The sed rule was copied from stmp-int-hdrs.
  f77.install-info: f77.info
  	-rm -f $(infodir)/g77.info*
! 	if [ -f f/g77.info ] ; then \
! 	  for f in f/g77.info*; do \
  	    realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
  	    $(INSTALL_DATA) $$f $(infodir)/$$realfile; \
! 	  done; \
! 	fi
  	-chmod a-x $(infodir)/g77.info*
  
  f77.install-man: $(srcdir)/f/g77.1
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1998-01-22  2:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-07 12:03 [haible@ilog.fr: [patch] make install] Craig Burley
1998-01-20  7:07 ` Jeffrey A Law
1998-01-20  9:08   ` Craig Burley
1998-01-20 14:54     ` Jeffrey A Law
1998-01-21  9:18     ` Ian Lance Taylor
1998-01-22  2:29     ` Paul Koning

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).