View | Details | Raw Unified | Return to bug 39849
Collapse All | Expand All

(-)a/Makefile.PL (-5 / +9 lines)
Lines 1909-1925 sub top_targets { Link Here
1909
    my $inherited = shift->SUPER::top_targets(@_);
1909
    my $inherited = shift->SUPER::top_targets(@_);
1910
    my $compile_step;
1910
    my $compile_step;
1911
1911
1912
    #NOTE: Make "all" depend on "compile_css_js"
1912
    #NOTE: Make "all" depend on "compile_css_js" and "move_compiled_js", so that it runs those targets/steps
1913
    $compile_step .= "all :: compile_css_js\n";
1913
    $compile_step .= "all :: compile_css_js move_compiled_js\n";
1914
    $compile_step .= "\t" . '$(NOECHO) $(NOOP)' . "\n";
1914
    $compile_step .= "\t" . '$(NOECHO) $(NOOP)' . "\n";
1915
    $compile_step .= "\n";
1915
    $compile_step .= "\n";
1916
1916
1917
    #NOTE: Make compile_css_js depend on pm_to_blib, so we have access to the blib directory
1917
    #NOTE: Build CSS and Javascript assets
1918
    $compile_step .= "compile_css_js: pm_to_blib\n";
1918
    $compile_step .= "compile_css_js:\n";
1919
    $compile_step .= "\t" . '$(PERLRUN) build-resources.PL' . "\n";
1919
    $compile_step .= "\t" . '$(PERLRUN) build-resources.PL' . "\n";
1920
    $compile_step .= "\n";
1920
1921
1922
    #NOTE: Make move_compiled_js depend on compile_css_js, so we have our generated Javascript assets
1923
    #NOTE: Make move_compiled_js depend on pm_to_blib, so we have access to the blib directory
1921
    #NOTE: Copy the generated vue dist files into the relevant blib
1924
    #NOTE: Copy the generated vue dist files into the relevant blib
1925
    $compile_step .= "move_compiled_js: compile_css_js pm_to_blib\n";
1922
    $compile_step .= "\t" . 'cp -r koha-tmpl/intranet-tmpl/prog/js/vue/dist blib/INTRANET_TMPL_DIR/prog/js/vue/' . "\n";
1926
    $compile_step .= "\t" . 'cp -r koha-tmpl/intranet-tmpl/prog/js/vue/dist blib/INTRANET_TMPL_DIR/prog/js/vue/' . "\n";
1927
    $compile_step .= "\n";
1923
1928
1924
    my $top_targets = $compile_step . "\n" . $inherited;
1929
    my $top_targets = $compile_step . "\n" . $inherited;
1925
    return $top_targets;
1930
    return $top_targets;
1926
- 

Return to bug 39849