diff --git a/bind.spec b/bind.spec index 91b8c70..247116b 100644 --- a/bind.spec +++ b/bind.spec @@ -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: