about summary refs log tree commit diff
path: root/redo-sources
blob: b0f6619bc2f5a658bff2ed216bcee077b39b7294 (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