Commit graph

2 commits

Author SHA1 Message Date
Francois-Xavier Coudert
94e0f29b6b libfortran: Simplify Makefile logic
Simplify the structure of the Makefile, because now we don't need so
many different variables. Also, list the m4 directory entirely in
EXTRA_DIST instead of individual files, to reduce information
duplication.

I also introduce some level of checking the regenerate.sh script.
It should catch cases where the list of generated files gets out
of sync between Makefile.am and regenerate.sh

2025-06-10  François-Xavier Coudert  <fxcoudert@gcc.gnu.org>

libgfortran/ChangeLog:

	PR libfortran/116400
	* Makefile.am: Simplify logic.
	* Makefile.in: Regenerate.
	* regenerate.sh: Add some checks.
2025-06-11 16:17:26 +02:00
Francois-Xavier Coudert
d2f82b57c8 libfortran: Add script to regenerate source files
Move the regeneration of libgfortran source files from the Makefile
to a standalone script. We were previously highjacking the
maintainer mode of autoconf/automake in a way that was not adequate,
leading to various issues. Bring our behavior in line with other
GCC libraries.

2025-06-09  François-Xavier Coudert  <fxcoudert@gcc.gnu.org>

libgfortran/ChangeLog:

	PR libfortran/116400
	* Makefile.am: Remove source file regeneration rules.
	* Makefile.in: Regenerate.
	* regenerate.sh: New file.
2025-06-10 12:02:24 +02:00