On Sun, 7 Jul 2024, Gerald Pfeifer wrote:

> However, wouldn't it be so much better if we could import (or "import")
> BUGURL from gcc/ where it is also set?

Yes, it would seem reasonable to parse the ACX_BUGURL line in 
gcc/configure.ac.  (It's not obvious that the URL should change more 
frequently than that line changes for other reasons that might break the 
parsing - but still, if there's an obvious error for failing to parse a 
plausible URL, that might be better than having the information in two 
places.

The parsing would need to take place after update_web_docs_git clones the 
repository, and before it removes all files that are not documentation 
sources - or alternatively, consider gcc/configure.ac to be part of the 
documentation sources and so don't remove it at that stage.

-- 
Joseph S. Myers
josmy...@redhat.com

Reply via email to