X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc.spec.in;h=0d714b70e16f8aa7418e627f2906bb2e82d016a3;hb=75580f64702def71bc1e53f3e2c8cc5d09e0fa6e;hp=1c83f7218bad779d1f442b9c68d6a98185b6ca87;hpb=5b80d867b4d082aad6d6233c10c020e6d84e7964;p=ghc-hetmet.git diff --git a/ghc.spec.in b/ghc.spec.in index 1c83f72..0d714b7 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 @@ -119,7 +119,11 @@ rm -rf ${RPM_BUILD_ROOT} %doc ANNOUNCE %doc LICENSE %doc README +v v v v v v v +************* %doc docs/building/building +%doc docs/comm +^ ^ ^ ^ ^ ^ ^ %doc docs/ext-core/core.ps %doc docs/storage-mgt/ldv.ps %doc docs/storage-mgt/rp.ps @@ -127,6 +131,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