]> sigrok.org Git - sigrok-util.git/blame - cross-compile/mingw/pulseview-manual-pdf-hack.patch
sigrok-cross-mingw: upgrade libusb1 to version 1.0.25 for MXE builds
[sigrok-util.git] / cross-compile / mingw / pulseview-manual-pdf-hack.patch
CommitLineData
30f27835
GS
1From f174de8d8dbe6c51af95d308ff92367ba5649061 Mon Sep 17 00:00:00 2001
2From: Gerhard Sittig <gerhard.sittig@gmx.net>
3Date: Sat, 22 Jan 2022 16:43:04 +0100
4Subject: [PATCH] HACK manual: intentionally break the lookup of the PDF
5 creation utility
6
7Search for the asciidoctor-pdf(1) utility under a name which won't be
8found. Which results in an empty skeleton make(1) rule for the PDF file
9creation which won't fail. Which hopefully unbreaks Windows installer
10creation from CI builds.
11
12This is a temporary evil hack which needs to get reverted when the
13actual issue got addressed which causes the asciidoctor-pdf execution
14to fail on the sigrok.org build machine.
15---
16 manual/CMakeLists.txt | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/manual/CMakeLists.txt b/manual/CMakeLists.txt
20index c425f36b3bdd..480ad0569d4b 100644
21--- a/manual/CMakeLists.txt
22+++ b/manual/CMakeLists.txt
23@@ -21,7 +21,7 @@ cmake_minimum_required(VERSION 2.8.12)
24
25 # External dependencies, required and optional tools.
26 find_program(ASCIIDOCTOR_EXECUTABLE NAMES asciidoctor)
27-find_program(ASCIIDOCTOR_PDF_EXECUTABLE NAMES asciidoctor-pdf)
28+find_program(ASCIIDOCTOR_PDF_EXECUTABLE NAMES asciidoctor-pdf-notfound)
29
30 # Tunables.
31 set(STYLES_DIR "asciidoctor-stylesheet-factory/stylesheets")
32--
332.29.0
34