X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc.spec.in;h=2f66261abf503edc5509271b682763a8a16c8977;hb=3ded6e65b730c2b5eb9a9519448bbcd905c5d7fa;hp=1fb96ca840aacb2dc37a25bb943c7e5c843aff9b;hpb=bae189c0a5d79fc2e2753132a964b1c975b8466a;p=ghc-hetmet.git diff --git a/ghc.spec.in b/ghc.spec.in index 1fb96ca..2f66261 100644 --- a/ghc.spec.in +++ b/ghc.spec.in @@ -82,15 +82,15 @@ needed. %build test -f configure || autoreconf -./configure --prefix=%{_prefix} -make +./configure --prefix=%{_prefix} --mandir=%{_mandir} +make HTML_DIR_INSTALLED=%{_defaultdocdir}/%{name}/libraries/'$(PACKAGE)' make html make -C docs/ext-core ps make -C docs/storage-mgt ps %install make prefix=${RPM_BUILD_ROOT}%{_prefix} install -make datadir=`pwd` install-docs +make datadir=`pwd` mandir=${RPM_BUILD_ROOT}%{_mandir} install-docs # generate the file list for lib/ _excluding_ all files needed for profiling # only @@ -128,6 +128,7 @@ rm -rf ${RPM_BUILD_ROOT} %doc docs/users_guide/users_guide %doc html/* %doc libraries/Cabal/doc/Cabal +%{_mandir}/man1/ghc.1* %{_prefix}/bin/ghc %{_prefix}/bin/ghc-%{version} %{_prefix}/bin/ghc-pkg