diff --git a/scripts/extract_user_doc.sh b/scripts/extract_user_doc.sh index 6c51c0917..342b4155f 100755 --- a/scripts/extract_user_doc.sh +++ b/scripts/extract_user_doc.sh @@ -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 diff --git a/scripts/rpm-data/klayout.spec b/scripts/rpm-data/klayout.spec index 2ef4b4e6b..d78c8655e 100644 --- a/scripts/rpm-data/klayout.spec +++ b/scripts/rpm-data/klayout.spec @@ -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