Generate html man pages into man subdirectory
This commit is contained in:
parent
7be72b675e
commit
1667a58d2a
@ -816,10 +816,10 @@ ln -s named-checkzone.8.gz named-compilezone.8.gz
|
||||
popd
|
||||
|
||||
%if %{with DOC}
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_pkgdocdir}/html/man
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_pkgdocdir}
|
||||
cp -a build/doc/arm/_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}
|
||||
cp -a build/doc/man/_build/html ${RPM_BUILD_ROOT}%{_pkgdocdir}/html/man
|
||||
rm -rf ${RPM_BUILD_ROOT}%{_pkgdocdir}/html{,/man}/.{buildinfo,doctrees}
|
||||
%endif
|
||||
%if %{with DOCPDF}
|
||||
cp -a build/doc/arm/Bv9ARM.pdf ${RPM_BUILD_ROOT}%{_pkgdocdir}
|
||||
|
Loading…
Reference in New Issue
Block a user