changeset 1159:64a9d74111e6

Tiny Makefile fix for sed style/compatibility
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Feb 2010 15:50:13 -0500
parents ed3e5329b60e
children 277a5db17aa1
files Makefile.am Makefile.in
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Sun Feb 07 09:51:41 2010 -0500
+++ b/Makefile.am	Sun Feb 07 15:50:13 2010 -0500
@@ -29,8 +29,8 @@
 
 src/urweb.mlb: src/prefix.mlb src/sources src/suffix.mlb
 	cat src/prefix.mlb src/sources src/suffix.mlb \
-	| sed 's/^\(.*\).grm$$/\1.mlton.grm.sig:\1.mlton.grm.sml/; y/:/\n/' \
-	| sed 's/^\(.*\).lex$$/\1.mlton.lex.sml/' \
+	| sed -e 's/^\(.*\).grm$$/\1.mlton.grm.sig:\1.mlton.grm.sml/' -e 'y/:/\n/' \
+		-e 's/^\(.*\).lex$$/\1.mlton.lex.sml/' \
 	>$@
 
 src/urweb.mlton.lex: src/urweb.lex
--- a/Makefile.in	Sun Feb 07 09:51:41 2010 -0500
+++ b/Makefile.in	Sun Feb 07 15:50:13 2010 -0500
@@ -723,8 +723,8 @@
 
 src/urweb.mlb: src/prefix.mlb src/sources src/suffix.mlb
 	cat src/prefix.mlb src/sources src/suffix.mlb \
-	| sed 's/^\(.*\).grm$$/\1.mlton.grm.sig:\1.mlton.grm.sml/; y/:/\n/' \
-	| sed 's/^\(.*\).lex$$/\1.mlton.lex.sml/' \
+	| sed -e 's/^\(.*\).grm$$/\1.mlton.grm.sig:\1.mlton.grm.sml/' -e 'y/:/\n/' \
+		-e 's/^\(.*\).lex$$/\1.mlton.lex.sml/' \
 	>$@
 
 src/urweb.mlton.lex: src/urweb.lex