Skip to content

Commit

Permalink
Merge branch 'qhelpgenerator'
Browse files Browse the repository at this point in the history
This fixes issue #13.
  • Loading branch information
PeterFeicht committed Feb 2, 2019
2 parents ae1ad30 + 573e923 commit 808b417
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 @@ -173,13 +173,13 @@ output/cppreference-doc-en-cpp.devhelp2: output/reference output/link-map.xml
#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 output/reference_cssless
#build the file list
Expand Down

0 comments on commit 808b417

Please sign in to comment.