Skip to content

Makefile.am: improve etags - #22680

Closed
bagder wants to merge 3 commits into
masterfrom
bagder/etags
Closed

bagder wants to merge 3 commits into
masterfrom
bagder/etags

Conversation

@bagder

@bagder bagder commented Aug 26, 2026

Copy link
Copy Markdown
Member

The Makefile generated with autotools offers a 'tags' target that invokes etags to build a symbol database in 'TAGS'.

For some reason it never indexes the symbols in the public include files and this is a somewhat crude way to make it do so. The downside with this take is that it repeats the header files names in the root Makefile. I still consider it valuable. The file set changes very rarely and this tags target is not critical.

The Makefile generated with autotools offers a 'tags' target that
invokes etags to build a symbol database in 'TAGS'.

For some reason it never indexes the symbols in the public include files
and this is a somewhat crude way to make it to so. The downside with
this take is that it repeats the header files names in the root
Makefile. I still consider it valuable. The file set changes very rarely
and this tags target is not critical.

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

Improves the autotools-generated tags/TAGS generation so etags also indexes curl’s public installed headers under include/curl/, addressing a gap where those symbols were previously missing from the TAGS database.

Changes:

  • Add an explicit list of public include/curl/*.h headers to the etags invocation via ETAGS_ARGS.
  • Add TAGS_DEPENDENCIES so TAGS rebuilds when those public headers change.

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

Comment thread Makefile.am Outdated
bagder and others added 2 commits August 26, 2026 10:10
okay

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@testclutch

Copy link
Copy Markdown

Analysis of PR #22680 at 00d755ef:

Test ../../tests/http/test_22_httpsrr.py::TestHTTPSRR::test_22_01_httpsrr_h1[DoH] failed, which has NOT been flaky recently, so there could be a real issue in this PR. Note that this test has failed in 2 different CI jobs (the link just goes to one of them).

Generated by Testclutch

@bagder
bagder marked this pull request as ready for review August 26, 2026 10:39
@bagder bagder closed this in b73a4f0 Aug 27, 2026
@bagder
bagder deleted the bagder/etags branch August 27, 2026 08:02
vszakats added a commit that referenced this pull request Sep 1, 2026
Aka `CURL_ETAGS_FILES`.

Follow-up to b73a4f0 #22680

Closes #22773
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants