From fe1b8667185f80da11e6aa61c168b2237cfb1fcf Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 25 Jan 2023 16:37:32 +0100 Subject: Recipe has no dependency on target dir Seen this fail once at , > cp: cannot create regular file '/run/build/libreoffice/workdir/CustomTarget/helpcontent2/help3xsl/online_transform.xsl': No such file or directory > make[1]: *** [/run/build/libreoffice/helpcontent2/CustomTarget_html.mk:186: /run/build/libreoffice/workdir/CustomTarget/helpcontent2/help3xsl/online_transform.xsl] Error 1 Change-Id: I8cfa387d1bb2ef488f5f34ff20b9dc975d424751 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/146141 Tested-by: Jenkins Reviewed-by: Stephan Bergmann (cherry picked from commit dc89de95c0858af3e6116f2d2b736787c30fe213) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/153765 Reviewed-by: Michael Stahl --- CustomTarget_html.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/CustomTarget_html.mk b/CustomTarget_html.mk index b68a91d422..627623aa2a 100644 --- a/CustomTarget_html.mk +++ b/CustomTarget_html.mk @@ -183,6 +183,7 @@ $(call gb_CustomTarget_get_workdir,helpcontent2/help3xsl)/%/contents.part : \ # copy online_transform.xsl to workdir and build links.txt.xsl $(call gb_CustomTarget_get_workdir,helpcontent2/help3xsl)/online_transform.xsl : \ $(SRCDIR)/helpcontent2/help3xsl/online_transform.xsl + mkdir -p $(dir $@) cp $(SRCDIR)/helpcontent2/help3xsl/online_transform.xsl $@ $(call gb_CustomTarget_get_workdir,helpcontent2/help3xsl)/links.txt.xsl : \ -- cgit