Skip to content

Commit 1d841bd

Browse files
mmMikePovilas Kanapickas
authored andcommitted
Easily change qhelpgenerator in makefile
1 parent a199853 commit 1d841bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ datarootdir = $(prefix)/share
2424
docdir = $(datarootdir)/cppreference/doc
2525
bookdir = $(datarootdir)/devhelp/books
2626

27+
qhelpgenerator = qhelpgenerator
28+
2729
#Version
2830

2931
VERSION=20141118
@@ -162,7 +164,7 @@ output/cppreference-doc-en-cpp.qch: output/qch-help-project-cpp.xml
162164
cp "output/qch-help-project-cpp.xml" "output/reference/qch.xml"
163165

164166
pushd "output/reference" > /dev/null; \
165-
qhelpgenerator "qch.xml" -o "../cppreference-doc-en-cpp.qch"; \
167+
$(qhelpgenerator) "qch.xml" -o "../cppreference-doc-en-cpp.qch"; \
166168
popd > /dev/null
167169

168170
rm -f "output/reference/qch.xml"

0 commit comments

Comments
 (0)