diff --git a/macros.ghc b/macros.ghc index ba8de23..bd50dc2 100644 --- a/macros.ghc +++ b/macros.ghc @@ -91,7 +91,9 @@ rm -f %{basepkg}-devel.files %{basepkg}-prof.files\ touch %{basepkg}-devel.files %{basepkg}-prof.files\ fi\ ls %{buildroot}%{ghclibdir}/package.conf.d/%{pkgnamever}*.conf >> %{basepkg}-devel.files\ +%if %{with haddock}\ echo %{ghc_html_libraries_dir}/%{pkgnamever} >> %{basepkg}-doc.files\ +%endif\ for i in %{basepkg}.files %{basepkg}-devel.files %{basepkg}-doc.files %{basepkg}-prof.files; do\ if [ -f "$i" ]; then\ sed -i -e "s!%{buildroot}!!g" $i\