[PATCH, committed] PR 35148: make pdf and relative srcdir

Ralf Wildenhues Ralf.Wildenhues@gmx.de
Wed Feb 13 20:33:00 GMT 2008


Tested `cd gcc && make pdf dvi info html' on i686-pc-linux-gnu, applied
to trunk and gcc-4_2-branch.

I'm actually not quite sure whether I just stepped over approval rules.
The patch has not been posted on this list before, only in the PR,
likewise the approval, see
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35148#c6>.

Also, do I have to add myself to the branch's MAINTAINERS file as well?

Thanks,
Ralf

2008-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	PR other/35148
	* Makefile.in (gcc-vers.texi): Use abs_srcdir for the value of
	srcdir.

Index: gcc/Makefile.in
===================================================================
--- gcc/Makefile.in	(revision 132291)
+++ gcc/Makefile.in	(working copy)
@@ -3653,7 +3653,7 @@
 	 then echo "@set DEVELOPMENT"; \
 	 else echo "@clear DEVELOPMENT"; \
 	 fi) > $@T
-	echo "@set srcdir $(srcdir)" >> $@T
+	echo "@set srcdir $(abs_srcdir)" >> $@T
 	if [ -n "$(PKGVERSION)" ]; then \
 	  echo "@set VERSION_PACKAGE $(PKGVERSION)" >> $@T; \
 	fi



More information about the Gcc-patches mailing list