[libfake437] r338 committed - Portability fix to sed call.

1 view
Skip to first unread message

libfa...@googlecode.com

unread,
Oct 1, 2011, 7:02:06 PM10/1/11
to libfake43...@googlegroups.com
Revision: 338
Author: endga...@gmail.com
Date: Sat Oct 1 16:00:49 2011
Log: Portability fix to sed call.
http://code.google.com/p/libfake437/source/detail?r=338

Modified:
/trunk/doc/Makefile.am

=======================================
--- /trunk/doc/Makefile.am Wed Dec 30 15:34:53 2009
+++ /trunk/doc/Makefile.am Sat Oct 1 16:00:49 2011
@@ -1,6 +1,8 @@
## Process this file with automake to generate Makefile.in
-EXTRACT_TEXI = $(AM_V_GEN)$(SED) -rn \
- '/\/\*\*/b; s/^.*\*\*(\/| )?(.*)/\2/; T; p' $< > $@
+EXTRACT_TEXI = $(AM_V_GEN)$(SED) -n \
+ -e '/^ \*\*\// { s/.*//; p; }' \
+ -e '/^ \*\* / { s/^ \*\* //; p; }' \
+ -e '/^ \*\*/ { s/^ \*\*//; p; }' $< > $@

fake437-display.texi: ../include/fake437/display.h ; $(EXTRACT_TEXI)
fake437-primitive.texi: ../include/fake437/primitive.h; $(EXTRACT_TEXI)

Reply all
Reply to author
Forward
0 new messages