diff options
author | Akim Demaille <demaille@gostai.com> | 2008-11-21 21:21:52 +0100 |
---|---|---|
committer | Akim Demaille <demaille@gostai.com> | 2008-11-21 21:25:16 +0100 |
commit | 01466c3ebe1cdcc89a59aac157284409c2b441b5 (patch) | |
tree | b578512c15616bb8d934cd9b3868f8295e08a978 /build-aux | |
parent | a7c09cba098dd0140b0ba0336cd05ece2c8dfcf0 (diff) | |
download | bison-01466c3ebe1cdcc89a59aac157284409c2b441b5.tar.gz |
Display the changes in cross-options.texi.
* build-aux/cross-options.pl ($sep): New, to separate items.
* doc/local.mk ($(CROSS_OPTIONS_TEXI)): Use diff to display the
changes.
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/cross-options.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build-aux/cross-options.pl b/build-aux/cross-options.pl index 478303d5..6d153a05 100755 --- a/build-aux/cross-options.pl +++ b/build-aux/cross-options.pl @@ -58,9 +58,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"; |