From 780c506b11953b81d41f01d73e0beea6f9352743 Mon Sep 17 00:00:00 2001 From: panne Date: Sun, 23 Jun 2002 15:44:31 +0000 Subject: [haddock @ 2002-06-23 15:44:31 by panne] Cleaned up build root handling and added more docs --- haddock.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/haddock.spec b/haddock.spec index 93faa123..e23faebf 100644 --- a/haddock.spec +++ b/haddock.spec @@ -55,13 +55,13 @@ should all be ok). %setup -n haddock-%{version} %build -./configure --prefix=${RPM_BUILD_ROOT}/%{prefix} +./configure --prefix=%{prefix} make -(cd haddock/src && sed 's{".*//{"/{' tmp.$$ && cat tmp.$$ >haddock) +(cd haddock/doc ; make dvi ps html ; gzip -f -9 *.dvi *.ps ) %install rm -rf ${RPM_BUILD_ROOT} -make install +make prefix=${RPM_BUILD_ROOT}%{prefix} install %clean rm -rf ${RPM_BUILD_ROOT} @@ -70,10 +70,16 @@ rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %doc haddock/README -%{prefix}/bin/* -%{prefix}/lib/* +%doc haddock/doc/haddock +%doc haddock/doc/haddock.dvi.gz +%doc haddock/doc/haddock.ps.gz +%{prefix}/lib/haddock-%{version} +%{prefix}/bin/haddock +%{prefix}/bin/haddock-%{version} %changelog * Wed May 01 2002 Tom Moertel - Created spec file +* Sun Jun 23 2002 Sven Panne +- Cleaned up build root handling and added more docs -- cgit v1.2.3