diff options
author | sven.panne@aedion.de <unknown> | 2007-09-02 16:43:42 +0000 |
---|---|---|
committer | sven.panne@aedion.de <unknown> | 2007-09-02 16:43:42 +0000 |
commit | fbb3eef5ee8f6f901ed6149b246c3bdbf8bd34fd (patch) | |
tree | 67fd217426f633d025cf5a2b3e1faaeb6540f5b2 /ghc.spec.in | |
parent | 3765a389871dc63fae795498a8900ee8bc2301c3 (diff) | |
download | haskell-fbb3eef5ee8f6f901ed6149b246c3bdbf8bd34fd.tar.gz |
Explicitly set "docdir" when calling make, configure's --docdir seems to be ignored
Diffstat (limited to 'ghc.spec.in')
-rw-r--r-- | ghc.spec.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ghc.spec.in b/ghc.spec.in index d5d87d0000..a24cb554ad 100644 --- a/ghc.spec.in +++ b/ghc.spec.in @@ -84,7 +84,7 @@ needed. %build test -f configure || sh boot ./configure --prefix=%{_prefix} --mandir=%{_mandir} -make %{?jobs:-j%jobs} +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 ) @@ -92,7 +92,7 @@ make -C docs/ext-core ps make -C docs/storage-mgt ps %install -make DESTDIR=${RPM_BUILD_ROOT} install install-docs +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 # generate the file list for lib/ _excluding_ all files needed for profiling @@ -149,9 +149,7 @@ fi %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 -%{_datadir}/doc/ghc %{_mandir}/man1/ghc.1* %{_prefix}/bin/ghc %{_prefix}/bin/ghc-%{version} |