https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39849 Bug ID: 39849 Summary: Target dependency issue in Makefile Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org In a clean git working directory or in a "git archive" tarball, you can run "perl Makefile.PL", but if you run "make", you'll get the following error and make will crash: make: *** No rule to make target 'api/v1/swagger/swagger_bundle.json', needed by 'pm_to_blib' Bug 36546 added a file mapping for 'api/v1/swagger/swagger_bundle.json' which is used in the "pm_to_blib" target. At that time, "build-resources.PL" was run *before* "pm_to_blib" via "compile_css_js". But in Bug 37911, I moved "compile_css_js" to happen *after* "pm_to_blib", so that the Vue files could be copied into the "blib". We didn't notice this bug because on all the test builds we were doing, we forgot to "rm 'api/v1/swagger/swagger_bundle.json'" prior to the builds, so the builds were using a previously generated swagger_bundle.json file. Anyway, I think I know the solution. Let me see if I can bang it out really quickly. Otherwise, I'll do it tomorrow... -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.