Display the changes in cross-options.texi.

* build-aux/cross-options.pl ($sep): New, to separate items.
	* doc/Makefile.am ($(srcdir)/cross-options.texi): Use diff to display
	the changes.
This commit is contained in:
Akim Demaille
2008-11-21 21:21:52 +01:00
committed by Joel E. Denny
parent 72183df4da
commit fadb13b5b3
3 changed files with 14 additions and 2 deletions

View File

@@ -61,9 +61,12 @@ while (<STDIN>)
}
}
my $sep = '';
foreach my $long (sort keys %option)
{
# Avoid trailing spaces.
print $sep;
$sep = "\n";
print '@item @option{', $long, "}\n\@tab";
print ' @option{', $option{$long}, '}' if $option{$long};
print "\n\@tab";