Makefile: add missing mkdir MANUAL_BUILDDIR
PATCH 1/1 Makefile: add missing mkdir MANUAL_BUILDDIR
The MANUAL_BUILDDIR directory is automatically created by sphinx-build for the other targets. The index.html target does not use sphinx-build so we must manually create the directory to avoid the following error:
GEN docs/built/index.html
/bin/sh: docs/built/index.html: No such file or directory
--- Makefile | 1 + 1 file changed, 1 insertion(+)
Makefile +1 -0
@@ -1022,6 +1022,7 @@ $(MANUAL_BUILDDIR)/interop/qemu-ga.8: $(call manual-deps,interop) $(call build-manual,interop,man) $(MANUAL_BUILDDIR)/index.html: $(SRC_PATH)/docs/index.html.in qemu-version.h + @mkdir -p "$(MANUAL_BUILDDIR)" $(call quiet-command, sed "s|@@VERSION@@|${VERSION}|g" $< >$@, \ "GEN","$@")
Signature · 1 line
2.24.1
Quoted 27 lines · Stefan Hajnoczi
The
MANUAL_BUILDDIRdirectory is automatically created by sphinx-build for the other targets. The index.html target does not use sphinx-build so we must manually create the directory to avoid the following error:GEN docs/built/index.html
/bin/sh: docs/built/index.html: No such file or directorySigned-off-by Stefan Hajnoczi <[email protected]>--- Makefile | 1 + 1 file changed, 1 insertion(+)Makefile +1
-0@@ -1022,6 +1022,7 @@ $(MANUAL_BUILDDIR)/interop/qemu-ga.8: $(call manual-deps,interop) $(call build-manual,interop,man) $(MANUAL_BUILDDIR)/index.html: $(SRC_PATH)/docs/index.html.in qemu-version.h + @mkdir -p "$(MANUAL_BUILDDIR)" $(call quiet-command, sed "s|@@VERSION@@|${VERSION}|g" $< >$@, \ "GEN","$@")Signature · 1 line
2.24.1
Fixing our issues with build,
Quoted 26 lines · Miroslav Rezanina
Quoted 24 lines · Stefan Hajnoczi
The
MANUAL_BUILDDIRdirectory is automatically created by sphinx-build for the other targets. The index.html target does not use sphinx-build so we must manually create the directory to avoid the following error:GEN docs/built/index.html
/bin/sh: docs/built/index.html: No such file or directorySigned-off-by Stefan Hajnoczi <[email protected]>--- Makefile | 1 + 1 file changed, 1 insertion(+)Makefile +1
-0@@ -1022,6 +1022,7 @@ $(MANUAL_BUILDDIR)/interop/qemu-ga.8: $(call manual-deps,interop) $(call build-manual,interop,man) $(MANUAL_BUILDDIR)/index.html: $(SRC_PATH)/docs/index.html.in qemu-version.h + @mkdir -p "$(MANUAL_BUILDDIR)" $(call quiet-command, sed "s|@@VERSION@@|${VERSION}|g" $< >$@, \ "GEN","$@")
Quoted 7 lines
Quoted 3 lines
--
2.24.1Fixing our issues with build,
Reviewed-by Miroslav Rezanina <[email protected]>
Thanks; applied to master as a build-fix.
-- PMM