summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. 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)
commit41f638c961d5c7832e2b18a9f2e45a09b54dc53e (patch)
treea3404e611672f64126298e2f0f6d3398b014851e
parent5caa531311409592fdd52f1ae9f319cb77bcbd5d (diff)
Makefile.am: List files only once in todo targetfeature/use-shld
-rw-r--r--Makefile.am2
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 \