always create needed htm-docs dir
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc?expand=0&rev=56
This commit is contained in:
parent
bc61b5da84
commit
6ce35c7ead
2
ghc.spec
2
ghc.spec
@ -189,10 +189,10 @@ make -C docs/storage-mgt ps
|
||||
%install
|
||||
%if %check_haddock_ghc
|
||||
make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-doc HADDOCK_DOCS=YES install install-docs
|
||||
mkdir 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
|
||||
#mv %{buildroot}%{_prefix}/bin/hsc2hs %{buildroot}%{_prefix}/bin/hsc2hs-ghc
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user