diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-03-10 07:33:57 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-03-10 07:56:17 +0100 |
commit | 7b8e2ae2fd3bec55e2d8c51e49871954851b5df8 (patch) | |
tree | 1ca8b482b6265198c6b5d1a546db41c9626edf22 /GNUmakefile.in | |
parent | f696c0cd5f299f1b51e214efc55a22a782cc175d (diff) | |
download | postgresql-7b8e2ae2fd3bec55e2d8c51e49871954851b5df8.tar.gz postgresql-7b8e2ae2fd3bec55e2d8c51e49871954851b5df8.zip |
Combine headerscheck and cpluspluscheck scripts
They are mostly the same, and it is tedious to maintain two copies of
essentially the same exclude list. headerscheck now has a new option
--cplusplus to select the cpluspluscheck functionality. The top-level
make targets are still the same.
Reviewed-by: Thomas Munro <thomas.munro@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://www.postgresql.org/message-id/flat/4754a5b0-a32b-4036-a99a-6de14cf9fd72@eisentraut.org
Diffstat (limited to 'GNUmakefile.in')
-rw-r--r-- | GNUmakefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile.in b/GNUmakefile.in index eba569e930e..4d8fc794bbb 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -133,6 +133,6 @@ headerscheck: submake-generated-headers $(top_srcdir)/src/tools/pginclude/headerscheck $(top_srcdir) $(abs_top_builddir) cpluspluscheck: submake-generated-headers - $(top_srcdir)/src/tools/pginclude/cpluspluscheck $(top_srcdir) $(abs_top_builddir) + $(top_srcdir)/src/tools/pginclude/headerscheck --cplusplus $(top_srcdir) $(abs_top_builddir) .PHONY: dist distdir distcheck docs install-docs world check-world install-world installcheck-world headerscheck cpluspluscheck |