summaryrefslogtreecommitdiff
path: root/ghc.spec.in
diff options
context:
space:
mode:
authorsven.panne@aedion.de <unknown>2007-01-02 13:45:46 +0000
committersven.panne@aedion.de <unknown>2007-01-02 13:45:46 +0000
commit5744d117ac16e91a92ffd982a7b08614b41e41e0 (patch)
treeea0287f4fa31aa1f3df5861440665606aea909be /ghc.spec.in
parentbae189c0a5d79fc2e2753132a964b1c975b8466a (diff)
downloadhaskell-5744d117ac16e91a92ffd982a7b08614b41e41e0.tar.gz
Added ghc man page to RPM
Diffstat (limited to 'ghc.spec.in')
-rw-r--r--ghc.spec.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/ghc.spec.in b/ghc.spec.in
index 1fb96ca840..b31d0aafe9 100644
--- a/ghc.spec.in
+++ b/ghc.spec.in
@@ -82,7 +82,7 @@ needed.
%build
test -f configure || autoreconf
-./configure --prefix=%{_prefix}
+./configure --prefix=%{_prefix} --mandir=%{_mandir}
make
make html
make -C docs/ext-core ps
@@ -90,7 +90,7 @@ 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