X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/72183df4da75116a496099c856097f7f049b2d8a..4b7a4c1b1c8c18e9ad2517c117442b9b7d7e671a:/doc/Makefile.am diff --git a/doc/Makefile.am b/doc/Makefile.am index f5ff34b2..adf8ad89 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in -*-Makefile-*- -## Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007, 2008 Free Software -## Foundation, Inc. +## Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007, 2008-2009 Free +## Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -26,10 +26,12 @@ clean-local: CROSS_OPTIONS_PL = $(top_srcdir)/build-aux/cross-options.pl $(srcdir)/cross-options.texi: $(top_srcdir)/src/getargs.c $(CROSS_OPTIONS_PL) - -rm -f $@ $@.tmp + mv -f $@ $@~ || : >$@~ + -rm -f $@.tmp cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS) bison $(top_builddir)/src/bison --help \ | perl $(CROSS_OPTIONS_PL) $(top_srcdir)/src/scan-gram.l >$@.tmp + diff -u $@~ $@.tmp || true mv $@.tmp $@ MAINTAINERCLEANFILES = $(srcdir)/cross-options.texi