From a88ad680422949dfe2d16a544a529649c6d07109 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Mon, 31 May 2021 17:08:09 +0100 Subject: Update build system to the latest luiml version --- .parse-depfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 .parse-depfile (limited to '.parse-depfile') diff --git a/.parse-depfile b/.parse-depfile new file mode 100755 index 0000000..cad20d9 --- /dev/null +++ b/.parse-depfile @@ -0,0 +1,15 @@ +#!/usr/bin/sed -f +# remove target +1s/^[^:]*: // +# collapse lines +:loop +/\\$/ { + N + s/ \\\n// + b loop +} +# split on unescaped spaces +s/\([^\]\) /\1\ +/g +# unescape spaces +s/\\ / /g -- cgit v1.2.3-54-g00ecf