followup fix for conditional valgrind (#1255054)

This commit is contained in:
Rex Dieter 2015-08-21 06:52:46 -05:00
parent fcb305ca3f
commit eed09bb685

View File

@ -484,10 +484,10 @@ pushd src/xml; ../../bin/qmake; popd
# see also https://bugreports.qt-project.org/browse/QTBUG-42071 # see also https://bugreports.qt-project.org/browse/QTBUG-42071
QT_HASH_SEED=0; export QT_HASH_SEED QT_HASH_SEED=0; export QT_HASH_SEED
%if 0%{?valgrind} %if 0%{?valgrind}
make html_docs || \ make html_docs || (\
mv bin/qdoc bin/qdoc.orig && install %{SOURCE2} bin/qdoc && \ mv bin/qdoc bin/qdoc.orig && install %{SOURCE2} bin/qdoc && \
make html_docs make html_docs)
mv bin/qdoc.orig bin/qdoc -f [ -e bin/qdoc/orig ] && mv bin/qdoc.orig bin/qdoc -f
%else %else
make html_docs make html_docs
%endif %endif