This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: build broken


Mike Stump schrieb:
It appears that one of these:
+ '[' -s .bad_compare ']'
+ exit 1

I have a feeling sed -i isn't our friend.

fixed.


Matthias

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

	* doc/Makefile.am(gkeytool.pod): Don't use sed -i.
	* doc/Makefile.in: Regenerate.

Index: doc/Makefile.am
===================================================================
--- doc/Makefile.am	(Revision 122631)
+++ doc/Makefile.am	(Arbeitskopie)
@@ -67,10 +67,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 < $< > $@

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