Build system changes

Julien ÉLIE julien at trigofacile.com
Thu Oct 21 20:00:47 UTC 2021


Hi Russ,

> These changes (and indeed all of the Automake work) would only be in the
> main branch, not in the 2.6 release branch.

Many thanks to tackle that work!
For the 2.6 release branch, maybe we could just take Richard's work on #206.


> 3. There are profiling rules scattered around the INN build system, but
>    I've never used them and I'm not sure they work as-is.  I also don't
>    know how to convert them to Automake.  I currently intend to drop
>    them.

I've also never used it.


> 7. The easy way to implement the special ownership and permission rules
>     for some INN files is to install them with regular permissions and then
>     fix the permissions afterwards with install-exec-hook.  That does mean
>     there will be a window where the permissions will be wrong.  Does that
>     seem okay?

If that's the usual way to do it, that seems OK.


> I haven't yet figured out how to support the -S .OLD option to install.
> Not sure yet how hard that will be.  I'm planning on keeping the site
> directory as-is and invoking it via recursive make, at least for now.

Do you use Automake 1.16.3 or later?
Support for the -S .OLD option has been added to install-sh in Automake 
1.16.3 (released in November 2020).

-- 
Julien ÉLIE

« Attention aux bugs dans le code ci-dessus. Je ne l'ai pas testé, j'ai
   seulement prouvé qu'il était correct. » (Donald Knuth)


More information about the inn-workers mailing list