From 573e92315a4bc14230ba5bb930bad36035a67671 Mon Sep 17 00:00:00 2001 From: Peter Feichtinger Date: Sat, 2 Feb 2019 17:03:54 +0100 Subject: [PATCH] Fix QCH build This changes the file extension of the qhelpgenerator input file to use a .qhp extension instead of .xml. This is required because an update to qhelpgenerator now rejects the .xml extension. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7af6e0c..40a9e77 100644 --- a/Makefile +++ b/Makefile @@ -175,13 +175,13 @@ output/cppreference-doc-en-cpp.devhelp2: \ #build the .qch (QT help) file output/cppreference-doc-en-cpp.qch: output/qch-help-project-cpp.xml #qhelpgenerator only works if the project file is in the same directory as the documentation - cp "output/qch-help-project-cpp.xml" "output/reference_cssless/qch.xml" + cp "output/qch-help-project-cpp.xml" "output/reference_cssless/qch.qhp" pushd "output/reference_cssless" > /dev/null; \ - $(qhelpgenerator) "qch.xml" -o "../cppreference-doc-en-cpp.qch"; \ + $(qhelpgenerator) "qch.qhp" -o "../cppreference-doc-en-cpp.qch"; \ popd > /dev/null - rm -f "output/reference_cssless/qch.xml" + rm -f "output/reference_cssless/qch.qhp" output/qch-help-project-cpp.xml: \ output/cppreference-doc-en-cpp.devhelp2 \