X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/a7c09cba098dd0140b0ba0336cd05ece2c8dfcf0..88654b47c9e3c75670df802a5b901ec0ff4fe8f5:/doc/local.mk?ds=inline diff --git a/doc/local.mk b/doc/local.mk index a352459d..d1397904 100644 --- a/doc/local.mk +++ b/doc/local.mk @@ -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)