summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2008-06-22 18:52:48 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2008-07-15 12:28:52 +0200
commit143daa973dae0871efaf9e90666a89167e4c16c1 (patch)
tree685a0e69445aaef763cdae8108d812c2dbe0dea3
parent041091bb5953ac54df6b812e103c145339b4e92e (diff)
Use $(SED) for calling sed
-rw-r--r--nbb/Makefile-files6
1 files changed, 3 insertions, 3 deletions
diff --git a/nbb/Makefile-files b/nbb/Makefile-files
index 354e255..5252ce5 100644
--- a/nbb/Makefile-files
+++ b/nbb/Makefile-files
@@ -31,15 +31,15 @@ CLEANFILES += nbb/nbb
# pythondir is defined as ${something}foobar, and that needs expansion.
EXTRA_DIST += nbb/nbb.in
nbb/nbb: nbb/nbb.in $(nodist_nbblib_PYTHON) $(nbblib_PYTHON) Makefile
- sed \
+ $(SED) \
-e 's&[@]pythondir@&$(pythondir)&g' \
-e 's&[@]PYTHON@&$(PYTHON)&g' \
-e 's&[@]PACKAGE_VERSION@&$(PACKAGE_VERSION)&g' \
< $(srcdir)/nbb/nbb.in > nbb/nbb.new
- @if test "x$$(grep '@[a-zA-Z0-9_]\{1,\}@' nbb/nbb.new)" = "x"; then :; \
+ @if test "x$$($(GREP) '@[a-zA-Z0-9_]\{1,\}@' nbb/nbb.new)" = "x"; then :; \
else \
echo "FATAL: Unsubstituted markers remain in nbb/nbb.new."; \
- grep '@[a-zA-Z0-9_]\{1,\}@' nbb/nbb.new; \
+ $(GREP) '@[a-zA-Z0-9_]\{1,\}@' nbb/nbb.new; \
exit 1; \
fi
@if test -f nbb/nbb && cmp nbb/nbb.new nbb/nbb; \