aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.licignore2
-rw-r--r--[-rwxr-xr-x].parse-deps.sed (renamed from .parse-deps)1
-rwxr-xr-xdefault.o.do4
3 files changed, 3 insertions, 4 deletions
diff --git a/.licignore b/.licignore
index 4ac0ff0..c35173f 100644
--- a/.licignore
+++ b/.licignore
@@ -1,7 +1,7 @@
*.do
.gitignore
.licignore
-.parse-deps
+.parse-deps.sed
LICENSE
README.md
clean
diff --git a/.parse-deps b/.parse-deps.sed
index e8dc74b..488782d 100755..100644
--- a/.parse-deps
+++ b/.parse-deps.sed
@@ -1,4 +1,3 @@
-#!/usr/bin/sed -f
# remove target
1s/^[^:]*: //
# collapse lines
diff --git a/default.o.do b/default.o.do
index 2a21e84..75a77d8 100755
--- a/default.o.do
+++ b/default.o.do
@@ -2,6 +2,6 @@
set -e
redo-ifchg-pipe() { tr '\n' '\0' | xargs -r0 redo-ifchange; }
src=${1%.o}.c
-redo-ifchange .compile .parse-deps "$src"
+redo-ifchange .compile .parse-deps.sed "$src"
sed -n 's|.*@BUILD_DEP \(.*\)|\1|p' "$src" | redo-ifchg-pipe
-. ./.compile | ./.parse-deps | redo-ifchg-pipe
+. ./.compile | sed -f .parse-deps.sed | redo-ifchg-pipe