Skip to content

build: fold lists to use one source filename per line - #22666

Closed
vszakats wants to merge 12 commits into
curl:masterfrom
vszakats:flat-makefile-inc
Closed

vszakats wants to merge 12 commits into
curl:masterfrom
vszakats:flat-makefile-inc

Conversation

@vszakats

@vszakats vszakats commented Aug 25, 2026 •

Copy link
Copy Markdown
Member

To reduce merge conflicts.


@github-actions github-actions Bot added the tests label Aug 25, 2026
@vszakats vszakats changed the title build: fold lists to use one filename per line build: fold lists to use one dependency filename per line Aug 25, 2026
@vszakats
vszakats marked this pull request as draft August 25, 2026 09:51
@bagder

bagder commented Aug 25, 2026

Copy link
Copy Markdown
Member

How about tests/data/Makefile.am ?

@vszakats

Copy link
Copy Markdown
Member Author

How about tests/data/Makefile.am ?

Absolutely!

@vszakats
vszakats marked this pull request as ready for review August 25, 2026 16:14
@vszakats

vszakats commented Aug 25, 2026 •

Copy link
Copy Markdown
Member Author

Is there perhaps a way to use wildcards in EXTRA_DIST? In another project a directory is used (for cmake), I wonder if that'd fit for data without undesired side-effects? It could save a lot of lines and the maintenance of individual data entries.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Reformats build and distribution lists to place filenames on separate lines, reducing merge conflicts without changing listed dependencies.

Changes:

  • Expands test source and testcase lists to one entry per line.
  • Reformats distributed-file lists consistently.
  • Removes an unnecessary intermediate CMAKE_DIST variable in lib.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/unit/Makefile.inc Reformats unit-test sources.
tests/libtest/Makefile.inc Reformats libtest sources.
tests/libtest/Makefile.am Reformats distributed scripts.
tests/data/Makefile.am Reformats testcase and data-file lists.
Makefile.am Reformats top-level distribution files.
lib/Makefile.am Reformats library distribution files.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@vszakats vszakats changed the title build: fold lists to use one dependency filename per line build: fold lists to use one source filename per line Aug 26, 2026
@vszakats vszakats closed this in 6087083 Aug 26, 2026
@vszakats
vszakats deleted the flat-makefile-inc branch August 26, 2026 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants