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 <cota@braap.org>
ck_pring
Emilio G. Cota 10 years ago
parent 5b76fe3928
commit b4b916d713

@ -189,6 +189,14 @@ html:
$(BUILD_DIR)/doc/$$target$(HTML_SUFFIX); \ $(BUILD_DIR)/doc/$$target$(HTML_SUFFIX); \
done 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: install:
mkdir -p $(DESTDIR)/$(MANDIR)/man3 || exit mkdir -p $(DESTDIR)/$(MANDIR)/man3 || exit
cp *$(GZIP_SUFFIX) $(DESTDIR)/$(MANDIR)/man3 || exit cp *$(GZIP_SUFFIX) $(DESTDIR)/$(MANDIR)/man3 || exit

Loading…
Cancel
Save