This commit is contained in:
parent
6ce35c7ead
commit
f1fa586297
7
ghc.spec
7
ghc.spec
@ -187,13 +187,14 @@ make -C docs/storage-mgt ps
|
||||
%endif
|
||||
|
||||
%install
|
||||
mkdir html-docs
|
||||
%if %check_haddock_ghc
|
||||
make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-doc HADDOCK_DOCS=YES install install-docs
|
||||
cp -a %{buildroot}%{_docdir}/%{name}-doc/index.html html-docs
|
||||
%else
|
||||
make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-doc install
|
||||
%endif
|
||||
mkdir html-docs
|
||||
cp -a %{buildroot}%{_docdir}/%{name}-doc/{index.html,libraries} html-docs
|
||||
cp -a %{buildroot}%{_docdir}/%{name}-doc/libraries html-docs
|
||||
#mv %{buildroot}%{_prefix}/bin/hsc2hs %{buildroot}%{_prefix}/bin/hsc2hs-ghc
|
||||
|
||||
dir=`pwd`
|
||||
@ -262,7 +263,7 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Aug 19 2008 Herbert Graeber <herbert@links2linux.de> 6.8.3
|
||||
* Tue Aug 20 2008 Herbert Graeber <herbert@links2linux.de> 6.8.3
|
||||
- the ghc-doc packages contains the LICENSES files even without docs built
|
||||
|
||||
* Mon Aug 18 2008 Herbert Graeber <herbert@links2linux.de> 6.8.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user