projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't generate .hi-boot/.o-boot files in GHCi
[ghc-hetmet.git]
/
ghc.spec.in
diff --git
a/ghc.spec.in
b/ghc.spec.in
index
6133f36
..
a24cb55
100644
(file)
--- a/
ghc.spec.in
+++ b/
ghc.spec.in
@@
-84,7
+84,7
@@
needed.
%build
test -f configure || sh boot
./configure --prefix=%{_prefix} --mandir=%{_mandir}
%build
test -f configure || sh boot
./configure --prefix=%{_prefix} --mandir=%{_mandir}
-make %{?jobs:-j%jobs} HTML_DIR_INSTALLED=%{_defaultdocdir}/%{name}/libraries/'$(PACKAGE)'
+make %{?jobs:-j%jobs} docdir=%{_datadir}/doc/packages/%{name}
make html
make -C libraries doc
( cd libraries/Cabal && docbook2html doc/Cabal.xml --output doc/Cabal )
make html
make -C libraries doc
( cd libraries/Cabal && docbook2html doc/Cabal.xml --output doc/Cabal )
@@
-92,9
+92,8
@@
make -C docs/ext-core ps
make -C docs/storage-mgt ps
%install
make -C docs/storage-mgt ps
%install
-make prefix=${RPM_BUILD_ROOT}%{_prefix} install
+make DESTDIR=${RPM_BUILD_ROOT} docdir=%{_datadir}/doc/packages/%{name} install install-docs
mv ${RPM_BUILD_ROOT}%{_prefix}/bin/hsc2hs ${RPM_BUILD_ROOT}%{_prefix}/bin/hsc2hs-ghc
mv ${RPM_BUILD_ROOT}%{_prefix}/bin/hsc2hs ${RPM_BUILD_ROOT}%{_prefix}/bin/hsc2hs-ghc
-make datadir=`pwd` mandir=${RPM_BUILD_ROOT}%{_mandir} install-docs
# generate the file list for lib/ _excluding_ all files needed for profiling
# only
# generate the file list for lib/ _excluding_ all files needed for profiling
# only
@@
-150,9
+149,7
@@
fi
%doc docs/storage-mgt/rp.ps
%doc docs/storage-mgt/sm.ps
%doc docs/users_guide/users_guide
%doc docs/storage-mgt/rp.ps
%doc docs/storage-mgt/sm.ps
%doc docs/users_guide/users_guide
-%doc docs/index.html
%doc libraries/Cabal/doc/Cabal
%doc libraries/Cabal/doc/Cabal
-%{_datadir}/ghc
%{_mandir}/man1/ghc.1*
%{_prefix}/bin/ghc
%{_prefix}/bin/ghc-%{version}
%{_mandir}/man1/ghc.1*
%{_prefix}/bin/ghc
%{_prefix}/bin/ghc-%{version}