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 <paul.derscheid@lmscloud.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
David Cook 2025-09-09 02:42:25 +00:00 committed by Lucas Gass
parent f3145ca5ff
commit 0b6f7a2701
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 16 additions and 15 deletions

View File

@ -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