release-notes/devel Makefile,1.29,1.30

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Wed Sep 13 00:06:28 UTC 2006


Author: pfrields

Update of /cvs/docs/release-notes/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19491

Modified Files:
	Makefile 
Log Message:
Let's just make this whole sed thing a little saner.



Index: Makefile
===================================================================
RCS file: /cvs/docs/release-notes/devel/Makefile,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- Makefile	8 Sep 2006 20:12:52 -0000	1.29
+++ Makefile	13 Sep 2006 00:06:26 -0000	1.30
@@ -155,10 +155,9 @@
 # locale name *unless* the locale is en_US, in which case is is replaced
 # by "C", the fallback.
 %.omf:	%.omf.in
-	sed -e 's!@RELEASE@!${VERSION}!g'				\
-		-e 's!@DATE@!${REVDATE}!g'				\
-		-e 's!@LANG@!$(patsubst %/$(shell basename $<),%,$<)!g'	\
-		$< > $@
+	sed -e 's!@RELEASE@!${VERSION}!g $< > $@
+	sed -i 's!@DATE@!${REVDATE}!g' $@
+	sed -i 's!@LANG@!$(patsubst %/$(shell basename $<),%,$<)!g' $@
 	sed -i 's!@LANGC@!$(if $(findstring en_US,$(patsubst 		\
 		%/$(shell basename $<),%,$<)),C,$(patsubst 		\
 		%/$(shell basename $<),%,$<))!g' $@




More information about the Fedora-docs-commits mailing list