[gnome-games] Use $(SED)



commit 5c268951262307c2b0bc207e396b73171a126999
Author: Christian Persch <chpe gnome org>
Date:   Sun Aug 16 21:32:03 2009 +0200

    Use $(SED)

 aisleriot/Makefile.am   |    2 +-
 glchess/src/Makefile.am |    5 +----
 2 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/aisleriot/Makefile.am b/aisleriot/Makefile.am
index 2fbd161..f786028 100644
--- a/aisleriot/Makefile.am
+++ b/aisleriot/Makefile.am
@@ -162,7 +162,7 @@ service_DATA = $(ossoservice_in_files:.service.in=.service)
 endif
 
 %.service: %.service.in Makefile
-	$(AM_V_GEN) sed -e "s|%bindir%|$(bindir)|" $< > $@
+	$(AM_V_GEN) $(SED) -e "s|%bindir%|$(bindir)|" $< > $@
 
 install-schemas-local: $(schema_DATA)
 if GCONF_SCHEMAS_INSTALL
diff --git a/glchess/src/Makefile.am b/glchess/src/Makefile.am
index e5662a7..04ca4f8 100644
--- a/glchess/src/Makefile.am
+++ b/glchess/src/Makefile.am
@@ -7,7 +7,4 @@ bin_SCRIPTS = glchess
 CLEANFILES  = glchess glchess.in
 
 glchess: glchess.in
-	$(AM_V_GEN) sed \
-		-e "s|\#pyexecdir\#|$(pyexecdir)|" \
-	    	$< > $@ && \
-	chmod u+x $@
+	$(AM_V_GEN) $(SED) -e "s|\#pyexecdir\#|$(pyexecdir)|" $< > $@ && chmod u+x $@



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]