build: Document the chmod-scripts configure command

The chmod of all the scripts we generate from a template via configure
is necessary because configure will not preserve the bits of the
template when generating a new file.

There's no explanation for it, and you have to hunt it down the commit
history. Since Meson does the right thing, we added the executable bit
on the templates, but we cannot remove the AC_CONFIG_COMMANDS macro from
the Autotools build without breaking it. Let's document this, to avoid
nasty surprises.
This commit is contained in:
Emmanuele Bassi 2018-01-30 11:18:34 +00:00
parent 47b78e6d83
commit c1d58dd7e0

View File

@ -3516,6 +3516,8 @@ tests/refcount/Makefile
m4macros/Makefile
])
# We need this command because the configure script will not preserve
# the same attributes of the template files
AC_CONFIG_COMMANDS([chmod-scripts],
[chmod 0755 glib-zip
chmod 0755 glib-gettextize