]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4150] Add *.hh to find-uninstalled-headers.py
authorAndrei Pavel <andrei@isc.org>
Fri, 24 Oct 2025 11:44:58 +0000 (14:44 +0300)
committerAndrei Pavel <andrei@isc.org>
Fri, 24 Oct 2025 15:56:08 +0000 (18:56 +0300)
tools/find-uninstalled-headers.py

index 0a4ad164ad51583dfdfce2036912c00bc94c5abf..7f4fdb66c57d0464ac404868541238e3e95f45e7 100755 (executable)
@@ -19,7 +19,10 @@ EXCLUDE_LIST = [
 
 def main():
     meson_builds = sorted(pathlib.Path('./src/lib').glob('**/meson.build'))
-    headers = sorted(pathlib.Path('./src/lib').glob('**/*.h'))
+    headers = []
+    for ext in ['h', 'hh']:
+        headers += pathlib.Path('./src/lib').glob(f'**/*.{ext}')
+    headers = sorted(headers)
     headers_pattern = re.compile(r'kea_.*_headers = \[([^]]*)(\]?)$')
     failure = False
     for meson_build in meson_builds: