Remove duplicate copy of HTML manual pages

This commit is contained in:
Petr Menšík 2020-07-16 00:02:49 +02:00
parent 23ca292909
commit 2053b89207

View File

@ -802,10 +802,10 @@ ln -s named-checkzone.8.gz named-compilezone.8.gz
popd
%if %{with DOC}
mkdir -p ${RPM_BUILD_ROOT}%{_pkgdocdir}
cp -a build/doc/arm/{Bv9ARM.pdf,_build/html} build/doc/man/_build/html ${RPM_BUILD_ROOT}%{_pkgdocdir}
cp -a build/doc/man/_build/html ${RPM_BUILD_ROOT}%{_pkgdocdir}/html/man
rm -rf ${RPM_BUILD_ROOT}%{_pkgdocdir}/{html,html/man}/.{buildinfo,doctrees}
mkdir -p ${RPM_BUILD_ROOT}%{_pkgdocdir}/html/man
cp -a build/doc/arm/{Bv9ARM.pdf,_build/html} ${RPM_BUILD_ROOT}%{_pkgdocdir}
cp -a build/doc/man/_build/html ${RPM_BUILD_ROOT}%{_pkgdocdir}/html
rm -rf ${RPM_BUILD_ROOT}%{_pkgdocdir}/html/.{buildinfo,doctrees}
%endif
# Ghost config files: