summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rw-r--r--lib/local.mk3
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)