Hi,

This patch adds a new “regenerate.sh” script in libgfortran/, which is the new 
mechanism to rebuild all source files in the generated/ folder. It removes this 
from the Makefile (where it was misusing the maintainer mode, which was not 
intended for that purpose). The new script is standalone, and it should be run 
by developers whenever they modify a file in the m4/ directory. It will not be 
triggered by the Makefile, and must be run manually. It does not modify the 
timestamps or inodes of generated files, if they are not be modified.

The Makefile can later be simplified, but I don’t want to mix all the changes 
at once, so here’s a first part. If there is agreement, I’ll work on 
simplifying the Makefile next.

Undergoing testing on x86_64-linux, OK to push?
FX


Attachment: 0001-libfortran-Add-script-to-regenerate-source-files.patch
Description: Binary data

Reply via email to