mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 22:33:03 +00:00
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.
This commit is contained in:
@@ -29,10 +29,12 @@ clean-local:
|
||||
CROSS_OPTIONS_PL = $(top_srcdir)/build-aux/cross-options.pl
|
||||
CROSS_OPTIONS_TEXI = $(top_srcdir)/doc/cross-options.texi
|
||||
$(CROSS_OPTIONS_TEXI): $(top_srcdir)/src/getargs.c $(CROSS_OPTIONS_PL)
|
||||
-rm -f $@ $@.tmp
|
||||
mv -f $@ $@~ || : >$@~
|
||||
-rm -f $@.tmp
|
||||
$(MAKE) $(AM_MAKEFLAGS) src/bison$(EXEEXT)
|
||||
$(top_builddir)/src/bison --help | \
|
||||
perl $(CROSS_OPTIONS_PL) $(top_srcdir)/src/scan-gram.l >$@.tmp
|
||||
diff -u $@~ $@.tmp || true
|
||||
mv $@.tmp $@
|
||||
MAINTAINERCLEANFILES = $(CROSS_OPTIONS_TEXI)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user