(check-info-dir): New target.

This commit is contained in:
Glenn Morris 2008-02-08 20:29:53 +00:00
parent 1888e56807
commit 737e2b960a
2 changed files with 22 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2008-02-08 Glenn Morris <rgm@gnu.org>
* Makefile.in (check-info-dir): New target.
2008-02-08 Michael Olson <mwolson@gnu.org>
* Makefile.in (INFO_FILES): Add epa.

View file

@ -779,6 +779,24 @@ info: force-info
-(cd doc/misc; $(MAKE) $(MFLAGS) info)
-(cd doc/lispref; $(MAKE) $(MFLAGS) info)
-(cd doc/lispintro; $(MAKE) $(MFLAGS) info)
# The info/dir file must be updated by hand when new manuals are added.
check-info-dir: info
cd info ; \
missing= ; \
for file in *; do \
test -f "$${file}" || continue ; \
case $${file} in \
*-[0-9]*|COPYING|dir) continue ;; \
esac ; \
grep -q -F ": ($${file})." dir || missing="$${missing} $${file}" ; \
done ; \
if test -n "$${missing}"; then \
echo "Missing info/dir entries: $${missing}" ; \
exit 1 ; \
fi ; \
echo "info/dir is OK"
dvi:
(cd doc/emacs; $(MAKE) $(MFLAGS) dvi)
(cd doc/misc; $(MAKE) $(MFLAGS) dvi)