aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-08-03 12:39:36 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2011-08-03 12:39:36 +0000
commitb1135c2901ebe6331b1794002eec47c4b214f82c (patch)
tree3fb1529db306a9405e9003db8633b8c4a645088d
parent5861471bbd1574b26d0980f96e48c712039f977e (diff)
downloadgdbm-b1135c2901ebe6331b1794002eec47c4b214f82c.tar.gz
gdbm-b1135c2901ebe6331b1794002eec47c4b214f82c.tar.bz2
(check-fixmes): New rule.
-rw-r--r--doc/Makefile.am17
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 652356b..59da8eb 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -49,9 +49,24 @@ check-sentence-spacing:
echo >&2 "Run make fix-sentence-spacing to fix"; \
fi
+check-fixmes:
+ @for file in $(info_TEXINFOS) $(gdbm_TEXINFOS); \
+ do \
+ sed -e = $$file | \
+ sed -n 'N;/@c *FIXME:/{s/\(^[0-9][0-9]*\).*@c *FIXME:\(.*\)/'$$file':\1: \2/gp}'; \
+ done > $@-t; \
+ if [ -s $@-t ]; then \
+ echo "Unresolved FIXMEs:"; \
+ cat $@-t; \
+ rm $@-t; \
+ false; \
+ else \
+ rm -f $@-t; \
+ fi
+
check-format: check-tabs check-sentence-spacing
-check-docs: check-format
+check-docs: check-format check-fixmes
untabify:
emacs -batch -l untabify.el $(info_TEXINFOS) $(cfpeek_TEXINFOS)

Return to:

Send suggestions and report system problems to the System administrator.