https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39849
Martin Renvoize (ashimema) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #182024|0 |1 is obsolete| | --- Comment #6 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 182071 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182071&action=edit Bug 39849: Fix makefile target dependency order This patch fixes the makefile target dependency order, so that it runs in this order: 1. Build CSS and JS assets 2. Run pm_to_blib, which is the step that copies over most of Koha's files into blib 3. Move 'vue/dist' files via "move_compiled_js" makefile target/step To test: 1a. Run 'git archive --format=tar HEAD > "koha.orig.tar"' 1b. sudo mkdir /opt/koha /opt/build_koha 1c. sudo chown kohadev-koha /opt/koha /opt/build_koha 1d. mv koha.orig.tar /opt/build_koha/. 1e. cd /opt/build_koha 1f. tar xvf koha.orig.tar 2. Run "perl Makefile.PL" Choose "single" Choose "/opt/koha" for target directory Choose the defaults for the rest 3. Run "make" 4. Note the first step is the CSS/JS build 5. Note the second step is the copying of files to "blib" 6. Run "find -name 'esm.js.map'" and note it appears in the regular build location as well as in "blib" 7. Run "find -name 'swagger_bundle.json'" and note it appears in the regular build location as well as in "blib" 8. Run "make install" 9. Run the above "find" commands using "/opt/koha" and note that the files appear in the installed directory Signed-off-by: Blou <[email protected]> Signed-off-by: Martin Renvoize <[email protected]> -- 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/
