From 085582865312b4acaf3ab9666baa40bbb3d35405 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 9 Sep 2025 02:42:25 +0000 Subject: [PATCH] Bug 40773: Do not map "vue/dist" files in Makefile This change ensures that "vue/dist" files are not mapped into the pm_to_blib target of the Makefile, so that they are only handled by the explicit compile steps in the top targets of the Makefile. Test plan: 0. Apply the patch 1. perl build-resources.PL 2. ls ./koha-tmpl/intranet-tmpl/prog/js/vue/dist 3. Note that files are present 4. perl Makefile.PL 5. Take all the defaults 6. vi Makefile 7. Search for vue\/dist 8. Note that the only hit is for "cp -r koha-tmpl/intranet-tmpl/prog/js/vue/dist blib/INTRANET_TMPL_DIR/prog/js/vue/" Signed-off-by: Paul Derscheid Signed-off-by: Jonathan Druart --- Makefile.PL | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 886f1e432da..e3ec71e4692 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -392,21 +392,22 @@ my $target_map = { './virtualshelves' => 'INTRANET_CGI_DIR', # ignore files and directories created by the install itself - './pm_to_blib' => 'NONE', - './blib' => 'NONE', - '.git-blame-ignore-revs' => 'NONE', - '.prettierrc.js' => 'NONE', - '.sass-lint.yml' => 'NONE', - '.scss-lint.yml' => 'NONE', - 'gulpfile.js' => 'NONE', - 'package.json' => 'NONE', - 'yarn.lock' => 'NONE', - 'cypress.config.ts' => 'NONE', - 'tsconfig.json' => 'NONE', - 'webpack.config.js' => 'NONE', - 'rspack.config.js' => 'NONE', - 'eslint.config.mjs' => 'NONE', - '.codespell-ignore' => 'NONE', + './pm_to_blib' => 'NONE', + './blib' => 'NONE', + '.git-blame-ignore-revs' => 'NONE', + '.prettierrc.js' => 'NONE', + '.sass-lint.yml' => 'NONE', + '.scss-lint.yml' => 'NONE', + 'gulpfile.js' => 'NONE', + 'package.json' => 'NONE', + 'yarn.lock' => 'NONE', + 'cypress.config.ts' => 'NONE', + 'tsconfig.json' => 'NONE', + 'webpack.config.js' => 'NONE', + 'rspack.config.js' => 'NONE', + 'eslint.config.mjs' => 'NONE', + '.codespell-ignore' => 'NONE', + './koha-tmpl/intranet-tmpl/prog/js/vue/dist' => 'NONE', }; =head1 CONFIGURATION OPTIONS -- 2.34.1