[libxslt] Fix makefile and spec file to include doc in rpm



commit 7869cd2c7973039d17a3c9cdd4847fb2ee8caa26
Author: Daniel Veillard <veillard redhat com>
Date:   Fri Jul 24 10:15:20 2009 +0200

    Fix makefile and spec file to include doc in rpm

 doc/Makefile.am |    2 +-
 libxslt.spec.in |    5 +++++
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 75abd5f..06bd13b 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -196,7 +196,7 @@ install-data-local:
 
 dist-hook:
 	(cd $(srcdir) ; tar cvf - *.1 *.html site.xsl news.xsl xsa.xsl \
-	  *.gif html/*.html html/*.png tutorial*/libxslt*) | \
+	  *.gif *.png images html/*.html html/*.png tutorial*/libxslt*) | \
 	  (cd $(distdir); tar xf -)
 
 .PHONY : html EXSLT EXSLT/html
diff --git a/libxslt.spec.in b/libxslt.spec.in
index f5b7878..e72d072 100644
--- a/libxslt.spec.in
+++ b/libxslt.spec.in
@@ -99,6 +99,11 @@ rm -fr %{buildroot}
 %doc doc/EXSLT/libexslt-refs.xml
 %doc %{_mandir}/man3/libxslt.3*
 %doc %{_mandir}/man3/libexslt.3*
+%doc doc/*.html doc/html doc/*.gif doc/*.png
+%doc doc/tutorial
+%doc doc/tutorial2
+%doc doc/images
+%doc doc/EXSLT
 %{_libdir}/lib*.so
 %{_libdir}/*a
 %{_libdir}/*.sh



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]