Skip to content

Commit

Permalink
Fix QCH build
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
PeterFeicht committed Feb 2, 2019
1 parent a719f65 commit 573e923
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 573e923

Please sign in to comment.