diff options
author | P. J. McDermott <pj@pehjota.net> | 2015-12-07 11:55:10 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2015-12-07 11:55:10 (EST) |
commit | 41f638c961d5c7832e2b18a9f2e45a09b54dc53e (patch) | |
tree | a3404e611672f64126298e2f0f6d3398b014851e | |
parent | 5caa531311409592fdd52f1ae9f319cb77bcbd5d (diff) |
Makefile.am: List files only once in todo targetfeature/use-shld
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 83026a8..f8cdfa8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -81,7 +81,7 @@ todo: printf '\n'; \ printf 'Code comments:\n'; \ printf '==============\n\n'; \ - for f in $(SOURCES); do \ + for f in $$(printf '%s\n' $(SOURCES) | sort -u); do \ printed=false; \ sed '=' "$(top_srcdir)/$${f}" | sed 'N; s/\n/ ./' | sed -n \ '$(todo_script)' | while read -r lineno line; do \ |