On Fri, Nov 20, 2020 at 5:24 AM Martin Liška <mli...@suse.cz> wrote: > > Hello. > > I hit the following issue: > /bin/sh /home/marxin/Programming/gcc/gcc/../move-if-change tmp-tm.texi tm.texi > You should edit /home/marxin/Programming/gcc/gcc/doc/tm.texi.in rather than > /home/marxin/Programming/gcc/gcc/doc/tm.texi . > > Steps to reproduce: > 1) modify target.def > 2) you will see: > > Verify that you have permission to grant a GFDL license for all > new text in /dev/shm/objdir/gcc/tm.texi, then copy it to > /home/marxin/Programming/gcc/gcc/doc/tm.texi. > > I copy and commit the changes. > > 3) I made another modification to target.def > > Now I face the issue as > elif test $(srcdir)/doc/tm.texi -nt $(srcdir)/doc/tm.texi.in \ > && ( test $(srcdir)/doc/tm.texi -nt $(srcdir)/target.def \ > > So tm.texi.in is older that tm.texi, but it's fine as both tm.texi.in > and tm.texi are not modified. > > Ideas how to improve the error message? It took me some time to realize > that 'touch tm.texi.in' is what I need.
Should contrib/gcc_update handle it? -- H.J.