[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: another build system suggestion
From: |
Gavin Smith |
Subject: |
Re: another build system suggestion |
Date: |
Wed, 14 Aug 2024 00:04:42 +0100 |
On Mon, Aug 12, 2024 at 12:47:06PM +0200, Bruno Haible wrote:
> Texinfo already has 2 build-aux/ directories, but in the tp/Texinfo/XS/
> the automake-imported files are cluttering the main directory. How about
> moving them to a build-aux/ directory there as well?
>
> Doing that consists of 3 steps:
These steps broke the build and ./autogen.sh complained about a
missing config.rpath file. I had to apply one of the changes to
this file that had been posted recently to continue. Now, the
steps appear to have worked.
config.rpath was tracked in git before so I have added it to git
in the new location and changed the other files moved to build-aux
in .gitignore. However, I have no understanding of why we track
one file and not the others. (This may have been discussed in the
past but I didn't check.)
I agree it is tidier with the build-aux directory so thanks for
suggesting this.
>
> 1) Apply this patch:
>
> diff --git a/tp/Texinfo/XS/configure.ac b/tp/Texinfo/XS/configure.ac
> index 4597425661..5e986f5e5a 100644
> --- a/tp/Texinfo/XS/configure.ac
> +++ b/tp/Texinfo/XS/configure.ac
> @@ -11,6 +11,7 @@
> # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> #
> AC_INIT([texinfo], [0])
> +AC_CONFIG_AUX_DIR([build-aux])
> AM_INIT_AUTOMAKE
> AC_CONFIG_MACRO_DIR([gnulib/m4])
>
>
> 2) $ cd tp/Texinfo/XS
> $ .../gnulib-tool --update
>
> 3) $ cd tp/Texinfo/XS
> $ rm -f compile config.guess config.sub depcomp install-sh ltmain.sh
> missing
> $ rm -f config.rpath
>
>
> Bruno
>
>
>
>