diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-11 19:30:54 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-11 19:30:54 (EDT) |
commit | 2b4a5d1df8e567a8b73f90563af05871ad6a1bb9 (patch) | |
tree | 57d1f7f3039e26edd9d75ee8028df6b733803fe0 | |
parent | 0e9ca897ac4902a616ae5c33e86f345e0df33f09 (diff) |
Makefile.am, lib/local.mk: Extract TODO comments from libopkbuild sources
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | lib/local.mk | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index a137b49..4f98bf0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -57,6 +57,7 @@ libdatadir = $(datadir)/sh helperdir = $(pkgdatadir)/helpers CLEANFILES = +extra_sources = EXTRA_DIST = \ NEWS.opkhelper \ TODO \ @@ -89,7 +90,7 @@ todo: printf '\n'; \ printf 'Code comments:\n'; \ printf '==============\n\n'; \ - for f in $$(printf '%s\n' $(SOURCES) | sort -u); do \ + for f in $$(printf '%s\n' $(SOURCES) $(extra_sources) | sort -u); do \ printed=false; \ sed '=' "$(top_srcdir)/$${f}" | sed 'N; s/\n/ ./' | sed -n \ '$(todo_code_script)' | while read -r lineno line; do \ diff --git a/lib/local.mk b/lib/local.mk index e0ab8cc..845905a 100644 --- a/lib/local.mk +++ b/lib/local.mk @@ -33,6 +33,9 @@ libopkbuild_shsoversion = 2 CLEANFILES += \ $(libdata_DATA) \ $(libopkbuild_ldadd) +extra_sources += \ + $(libopkbuild_sources) \ + $(EXTRA_libopkbuild_sources) EXTRA_DIST += \ $(libopkbuild_sources) \ $(EXTRA_libopkbuild_sources) |