template-specs: haskell.spec - build and package docs

baggins baggins at pld-linux.org
Thu Apr 8 14:19:22 CEST 2010


Author: baggins                      Date: Thu Apr  8 12:19:22 2010 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- build and package docs

---- Files affected:
template-specs:
   haskell.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: template-specs/haskell.spec
diff -u template-specs/haskell.spec:1.2 template-specs/haskell.spec:1.3
--- template-specs/haskell.spec:1.2	Thu Apr  8 14:04:54 2010
+++ template-specs/haskell.spec	Thu Apr  8 14:19:17 2010
@@ -29,9 +29,11 @@
 	--prefix=%{_prefix} \
 	--libdir=%{_libdir} \
 	--libexecdir=%{_libexecdir} \
-	--libsubdir=%{libsubdir}
+	--libsubdir=%{libsubdir} \
+	--docdir=%{_defaultdocdir}/%{name}-%{version}
 
 runhaskell Setup.hs build
+runhaskell Setup.hs haddock --executables
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -53,6 +55,7 @@
 %files
 %defattr(644,root,root,755)
 %doc NEWS
+%doc %{_defaultdocdir}/%{name}-%{version}/html
 %{_libdir}/%{libsubdir}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -61,6 +64,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/04/08 12:19:17  baggins
+- build and package docs
+
 Revision 1.2  2010/04/08 12:04:54  baggins
 - fixed post
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/haskell.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list