|
|
@ -40,19 +40,19 @@ LDFLAGS="${LDFLAGS:-%__global_ldflags}"; export LDFLAGS\
|
|
|
|
%ghc_pkgdocdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
|
|
|
|
%ghc_pkgdocdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
|
|
|
|
# root dir for ghc docs (used by ghc.spec)
|
|
|
|
# root dir for ghc docs (used by ghc.spec)
|
|
|
|
%ghc_html_dir %{_docdir}/ghc/html
|
|
|
|
%ghc_html_dir %{_docdir}/%{?ghc_name}%{!?ghc_name:ghc}/html
|
|
|
|
# deprecates
|
|
|
|
# deprecates
|
|
|
|
%ghcdocbasedir %{_docdir}/ghc/html
|
|
|
|
%ghcdocbasedir %ghc_html_dir
|
|
|
|
|
|
|
|
|
|
|
|
# libraries doc dir (internal)
|
|
|
|
# libraries doc dir (internal)
|
|
|
|
%ghc_html_libraries_dir %{ghc_html_dir}/libraries
|
|
|
|
%ghc_html_libraries_dir %{ghc_html_dir}/libraries
|
|
|
|
# deprecates
|
|
|
|
# deprecates
|
|
|
|
%ghclibdocdir %{ghcdocbasedir}/libraries
|
|
|
|
%ghclibdocdir %ghc_html_libraries_dir
|
|
|
|
|
|
|
|
|
|
|
|
# pkg doc dir
|
|
|
|
# pkg doc dir
|
|
|
|
%ghc_html_pkg_dir %{ghc_html_libraries_dir}/%{pkg_name}-%{version}
|
|
|
|
%ghc_html_pkg_dir %{ghc_html_libraries_dir}/%{pkg_name}-%{version}
|
|
|
|
# deprecates
|
|
|
|
# deprecates
|
|
|
|
%ghcpkgdocdir %{ghclibdocdir}/%{pkg_name}-%{version}
|
|
|
|
%ghcpkgdocdir %ghc_html_pkg_dir
|
|
|
|
|
|
|
|
|
|
|
|
# top library dir
|
|
|
|
# top library dir
|
|
|
|
%ghclibdir %{_libdir}/ghc-%{ghc_version}
|
|
|
|
%ghclibdir %{_libdir}/ghc-%{ghc_version}
|
|
|
|