about summary refs log tree commit diff
path: root/substitute.mk
diff options
context:
space:
mode:
Diffstat (limited to 'substitute.mk')
-rw-r--r--substitute.mk12
1 files changed, 7 insertions, 5 deletions
diff --git a/substitute.mk b/substitute.mk
index 8527cf6fd1ee..c575dc0ff0a7 100644
--- a/substitute.mk
+++ b/substitute.mk
@@ -1,9 +1,11 @@
 %: %.in Makefile
 	sed \
-	 -e s^@prefix\@^$(prefix)^g \
-	 -e s^@bindir\@^$(bindir)^g \
-	 -e s^@sysconfdir\@^$(sysconfdir)^g \
-	 -e s^@localstatedir\@^$(localstatedir)^g \
-	 -e s^@wget\@^$(wget)^g \
+	 -e "s^@prefix\@^$(prefix)^g" \
+	 -e "s^@bindir\@^$(bindir)^g" \
+	 -e "s^@sysconfdir\@^$(sysconfdir)^g" \
+	 -e "s^@localstatedir\@^$(localstatedir)^g" \
+	 -e "s^@datadir\@^$(datadir)^g" \
+	 -e "s^@host\@^$(host)^g" \
+	 -e "s^@wget\@^$(wget)^g" \
 	 < $< > $@ || rm $@
 	chmod +x $@