https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37911

--- Comment #107 from David Cook <[email protected]> ---
(In reply to Jonathan Druart from comment #104)
> Just try:
> 0. rm -rf koha-tmpl/intranet-tmpl/prog/js/vue/dist/*
> 1. apply the patches, yarn install && yarn build
> 2. Notice that more than admin, preservation.js and erm.js have been
> generated in dist
> 3. Generate the makefile, make, make install and notice that only admin,
> erm.js, preservation.js have been copied to
> /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/js/vue/dist/
> 
> Expected: All the .js file should be copied.

So this procedure threw me into a bit of confusing, because I did not have the
same experience with Step 3. It actually worked fine for me in Step 3 (at least
when using the "single" installation method. But I'll explain below...

If you run the yarn build BEFORE perl Makefile.PL, it appears that the
Makefile.PL automagically finds islands.esm.js and adds it into all the right
places in the Makefile. (Probably because of the "target_map".) Then when you
do "make" and "make install", islands.esm.js gets installed into the deployment
directory.

*However*

If you DO NOT run yarn build BEFORE perl Makefile.PL, the Makefile won't know
about islands.esm.js and thus doesn't copy it into blib and doesn't install it.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to