Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure consistent results if autogen.sh is run more than once #145

Merged
merged 1 commit into from
Jul 15, 2023

Conversation

duncan-roe
Copy link
Contributor

Without this patch, make dist after a second autogen.sh will generate a Makefile.in that differs from after the first autogen.sh:

diff t5/remake-4.3-1+dbg-1.6/Makefile.in t6/remake-4.3-1+dbg-1.6/Makefile.in 334c334,335
< build-aux/install-sh build-aux/missing

  build-aux/install-sh build-aux/mdate-sh build-aux/missing \
  build-aux/texinfo.tex

But that is the only difference(!).
Make install results from either tarball are identical.

However the small change above does result in make dist-xz adding 440 bytes to the tarball.

Without this patch, make dist after a second autogen.sh will generate a
Makefile.in that differs from after the first autogen.sh:

diff t5/remake-4.3-1+dbg-1.6/Makefile.in t6/remake-4.3-1+dbg-1.6/Makefile.in
334c334,335
<       build-aux/install-sh build-aux/missing
---
>       build-aux/install-sh build-aux/mdate-sh build-aux/missing \
>       build-aux/texinfo.tex

But that is the only difference(!).
Make install results from either tarball are identical.

However the small change above does result in make dist-xz adding 440 bytes
to the tarball.
@duncan-roe
Copy link
Contributor Author

Hi Rocky,

When I first noticed this discrepancy, I thought it would have serious consequences. Spent some time checking for them but found there weren't any. This patch might save someone else's time doing the same.

@rocky rocky merged commit 79616aa into rocky:remake-4-3 Jul 15, 2023
1 check passed
@duncan-roe duncan-roe deleted the autogen2 branch July 16, 2023 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants