From 30b94862648cdbf4f537337d2e2f01c369a9dee9 Mon Sep 17 00:00:00 2001 From: Lennart Weller Date: Thu, 21 Apr 2016 14:27:29 +0200 Subject: Imported Upstream version 1.1.0 --- build/subst.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 build/subst.inc (limited to 'build') diff --git a/build/subst.inc b/build/subst.inc new file mode 100644 index 000000000..99cac7f4f --- /dev/null +++ b/build/subst.inc @@ -0,0 +1,11 @@ +.in: + if sed \ + -e 's#[@]localstatedir_POST@#$(localstatedir)#g' \ + -e 's#[@]sbindir_POST@#$(sbindir)#g' \ + -e 's#[@]sysconfdir_POST@#$(sysconfdir)#g' \ + $< > $@.tmp; then \ + mv "$@.tmp" "$@"; \ + else \ + rm -f "$@.tmp"; \ + false; \ + fi -- cgit v1.2.3