2009-09-21 Colin Watson <cjwatson@ubuntu.com>

Build info documentation.  Some code borrowed from Automake.

	* configure.ac: Check for makeinfo.
	* Makefile.in (MAKEINFO, INFOS, info_INFOS): New variables.
	(MAINTAINER_CLEANFILES): Add $(INFOS), docs/stamp-vti, and
	docs/version.texi.
	(MOSTLYCLEANFILES): Add vti.tmp.
	(docs/version.texi, docs/stamp-vti): Update automatically.
	(docs/grub.info): Build info documentation.  Use --force and ignore
	errors for now.
	(all-local): Add $(INFOS).
	(install-local): Install info files.
	(uninstall): Uninstall info files.
	* docs/version.texi: Remove from revision control.  This file is
	automatically generated on build now.
	* gendistlist.sh: Add `*.info'.
This commit is contained in:
cjwatson 2009-09-21 18:22:27 +00:00
parent e0b37bb5b1
commit c44c90db27
5 changed files with 75 additions and 8 deletions

View file

@ -38,7 +38,8 @@ for dir in $DISTDIRS; do
for d in `find $dir -type d | sed '/\/\.svn$/d;\/\.svn\//d' | sort`; do
find $d -maxdepth 1 -name '*.[chSy]' -o -name '*.mk' -o -name '*.rmk' \
-o -name '*.rb' -o -name '*.in' -o -name '*.tex' -o -name '*.texi' \
-o -name 'grub.cfg' -o -name 'README' -o -name '*.sc' -o -name 'mdate-sh' \
-o -name '*.sh' -o -name 'grub-dumpdevtree' -o -name '*.lua' | sort
-o -name '*.info' -o -name 'grub.cfg' -o -name 'README' \
-o -name '*.sc' -o -name 'mdate-sh' -o -name '*.sh' \
-o -name 'grub-dumpdevtree' -o -name '*.lua' | sort
done
done