Leaner doc generation, python3 installed fix for openSuSE.

This commit is contained in:
Matthias Koefferlein
2018-06-24 17:33:24 +02:00
parent 0798ac1e45
commit 15518c3984
2 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -25,6 +25,9 @@ for qt in 5 4; do
target_doc=$(pwd)/doc-qt$qt
rm -rf $target_doc
mkdir -p $target_doc
export QT_SELECT=$qt
./build.sh -qmake qmake -j4 -bin bin-release-qt$qt -build build-release-qt$qt
@@ -49,7 +52,8 @@ for qt in 5 4; do
rm -f $bin/help-index.xml
$bin/klayout -rx -b -rd "target_doc=$target_doc" -rd "qt=$qt" -r $inst_dir/extract_user_doc.rb
mv $bin/help-index.xml $target_doc/help-index.data
# just big:
# mv $bin/help-index.xml $target_doc/help-index.data
done
+2 -2
View File
@@ -56,7 +56,7 @@ Requires: ruby2.3 >= 2.3.1
Requires: python3 >= 3.4.6
Requires: libqt4-x11 >= 4.8.6
%define buildopt -j2
%define pylib %{python_sitearch}
%define pylib %{python3_sitearch}
%endif
%if "%{target_system}" == "opensuse42_3"
@@ -65,7 +65,7 @@ Requires: ruby2.3 >= 2.3.1
Requires: python3 >= 3.4.6
Requires: libqt4-x11 >= 4.8.6
%define buildopt -j2
%define pylib %{python_sitearch}
%define pylib %{python3_sitearch}
%endif
%description