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]
Other format: [Raw text]

Re: PATCH: PR 12512


Mark Mitchell <mark@codesourcery.com> writes:

> This patch fixes the problems with "make dvi" reported in the PR by
> using double-colon rules, thereby removing the "c++.dvi" style of
> hook.  (The remainder of the Make-lang.in hooks should also be
> converted to double-colon rules, but this patch doesn't do that.)
>
> Tested on i686-pc-linux-gnu, applied on the mainline.

Now I get:

make[1]: *** No rule to make target `treelang.info', needed by `treelang.install-info'.  Stop.
make[1]: Leaving directory `/builds/gcc/misc/gcc'
make: *** [install-gcc] Error 2

Ok to commit the appended patch that I've tested on i686-linux-gnu?

Andreas

2003-10-11  Andreas Jaeger  <aj@suse.de>

	* Make-lang.in (treelang.install-info): Remove reference to
	treelang.info.
	(treelang.): Removed.

============================================================
Index: gcc/treelang/Make-lang.in
--- gcc/treelang/Make-lang.in	6 Oct 2003 07:56:16 -0000	1.33
+++ gcc/treelang/Make-lang.in	11 Oct 2003 08:00:19 -0000
@@ -187,10 +187,7 @@ treelang.install.common.done:  installdi
 	done
 	$(STAMP) treelang.install.common.done
 
-# We might not be able to build the info files
-.PHONY: treelang.
-treelang.:
-treelang.install-info: treelang.$(BUILD_INFO)
+treelang.install-info:
 	if [ -f $(srcdir)/treelang/treelang.info ] ; then \
 	  rm -f $(DESTDIR)$(infodir)/treelang.info*; \
 	  for f in $(srcdir)/treelang/treelang.info*; do \

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


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