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
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
mkdir html-docs
|
||||||
%if %check_haddock_ghc
|
%if %check_haddock_ghc
|
||||||
make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-doc HADDOCK_DOCS=YES install install-docs
|
make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-doc HADDOCK_DOCS=YES install install-docs
|
||||||
|
cp -a %{buildroot}%{_docdir}/%{name}-doc/index.html html-docs
|
||||||
%else
|
%else
|
||||||
make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-doc install
|
make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-doc install
|
||||||
%endif
|
%endif
|
||||||
mkdir html-docs
|
cp -a %{buildroot}%{_docdir}/%{name}-doc/libraries html-docs
|
||||||
cp -a %{buildroot}%{_docdir}/%{name}-doc/{index.html,libraries} html-docs
|
|
||||||
#mv %{buildroot}%{_prefix}/bin/hsc2hs %{buildroot}%{_prefix}/bin/hsc2hs-ghc
|
#mv %{buildroot}%{_prefix}/bin/hsc2hs %{buildroot}%{_prefix}/bin/hsc2hs-ghc
|
||||||
|
|
||||||
dir=`pwd`
|
dir=`pwd`
|
||||||
@ -262,7 +263,7 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
- the ghc-doc packages contains the LICENSES files even without docs built
|
||||||
|
|
||||||
* Mon Aug 18 2008 Herbert Graeber <herbert@links2linux.de> 6.8.3
|
* Mon Aug 18 2008 Herbert Graeber <herbert@links2linux.de> 6.8.3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user