From 80d6f4f9a574ddb6250e06490c610969aacdb824 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 31 Aug 2022 09:16:04 +0200 Subject: [PATCH] meson: Install test perl modules --- src/test/meson.build | 2 ++ src/test/perl/meson.build | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 src/test/perl/meson.build diff --git a/src/test/meson.build b/src/test/meson.build index b86a0f3889..241d9d48aa 100644 --- a/src/test/meson.build +++ b/src/test/meson.build @@ -21,3 +21,5 @@ endif if icu.found() subdir('icu') endif + +subdir('perl') diff --git a/src/test/perl/meson.build b/src/test/perl/meson.build new file mode 100644 index 0000000000..901bae7a56 --- /dev/null +++ b/src/test/perl/meson.build @@ -0,0 +1,12 @@ +# could use install_data's preserve_path option in >=0.64.0 + +install_data( + 'PostgreSQL/Version.pm', + install_dir: dir_pgxs / 'src/test/perl/PostgreSQL') + +install_data( + 'PostgreSQL/Test/Utils.pm', + 'PostgreSQL/Test/SimpleTee.pm', + 'PostgreSQL/Test/RecursiveCopy.pm', + 'PostgreSQL/Test/Cluster.pm', + install_dir: dir_pgxs / 'src/test/perl/PostgreSQL/Test') -- 2.37.1