[cp-patches] [patch] forward gcj/classpath/doc patch

Andreas Tobler toa at pop.agri.ch
Fri Mar 9 21:32:22 UTC 2007


Hi all,

I'm going to commit this one soon.

It is a change which is already in gcc. Fails w/o patch under darwin-ppc.

Andreas

2007-03-09  Andreas Tobler  <a.tobler at schweiz.org>

	Port change from gcc:

	2007-03-06  Matthias Klose  <doko at ubuntu.com>

	* doc/Makefile.am(gkeytool.pod): Don't use sed -i.
-------------- next part --------------
Index: doc/Makefile.am
===================================================================
RCS file: /cvsroot/classpath/classpath/doc/Makefile.am,v
retrieving revision 1.8
diff -u -r1.8 Makefile.am
--- doc/Makefile.am	19 Feb 2007 22:16:32 -0000	1.8
+++ doc/Makefile.am	9 Mar 2007 21:29:38 -0000
@@ -54,10 +54,10 @@
 
 # hack around the cross references and the enumeration
 gkeytool.pod: $(srcdir)/cp-tools.texinfo
-	-$(TEXI2POD) -D gkeytool < $< > $@
-	sed -i -e 's/^For more details.*/See I<Common Options> for more details./' \
+	-$(TEXI2POD) -D gkeytool < $< \
+	  | sed -e 's/^For more details.*/See I<Common Options> for more details./' \
 	    -e 's/1\.<\([^>]*\)>/- \1/' \
-		$@
+		> $@
 
 gnative2ascii.pod: $(srcdir)/cp-tools.texinfo
 	-$(TEXI2POD) -D gnative2ascii < $< > $@


More information about the Classpath-patches mailing list