From b4b916d7135b7dae7a80ea20ed4d890457308517 Mon Sep 17 00:00:00 2001 From: "Emilio G. Cota" Date: Fri, 13 Mar 2015 18:06:57 -0400 Subject: [PATCH] doc/Makefile: add 'objcheck' target to check for missing OBJECTS ck/doc$ make objcheck 1>/dev/null ck_hs_put_unique is missing from OBJECTS ck_rhs_put_unique is missing from OBJECTS Signed-off-by: Emilio G. Cota --- doc/Makefile.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/Makefile.in b/doc/Makefile.in index 811cc7f..78cbe4e 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -189,6 +189,14 @@ html: $(BUILD_DIR)/doc/$$target$(HTML_SUFFIX); \ done +# check for entries that are missing in OBJECTS +objcheck: all + for file in `ls * | egrep '(ck|CK)_' | egrep -v "($(GZIP_SUFFIX)|$(HTML_SUFFIX))$$"`; do \ + if [ ! -f $${file}$(GZIP_SUFFIX) ]; then \ + echo "$$file is missing from OBJECTS" >&2; \ + fi; \ + done + install: mkdir -p $(DESTDIR)/$(MANDIR)/man3 || exit cp *$(GZIP_SUFFIX) $(DESTDIR)/$(MANDIR)/man3 || exit