Fix makefile and spec file to include doc in rpm
authorDaniel Veillard <veillard@redhat.com>
Fri, 24 Jul 2009 08:15:20 +0000 (10:15 +0200)
committerDaniel Veillard <veillard@redhat.com>
Fri, 24 Jul 2009 08:15:20 +0000 (10:15 +0200)
doc/Makefile.am
libxslt.spec.in

index 75abd5f..06bd13b 100644 (file)
@@ -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
index f5b7878..e72d072 100644 (file)
@@ -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