summary refs log tree commit diff
path: root/redo-sources
blob: fd1bf07176f709c22ef8373cf63e25dc76e9a144 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# redo-sources - list dependencies which are not targets

find -name '.dep.*' | xargs grep -h '^=' | cut -c84- |
while read f; do
	[ -e "$f" ] &&
	! [ -e "$(printf '%s' "$f" | sed 's,\(.*/\)\|,\1.dep.,')" ] &&
        printf '%s\n' "$f"
done | sort -u