-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Remove the old README file and add the real documentation to the -devel
package. Obviously, this patch depends on Dmitri's collection
documentation patch.

- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkuVMwsACgkQeiVVYja6o6PyCwCgr5IJ5pJYPUm/4M4u8UMcq917
/QIAn3hhd703n8AmAVmdJ2trIg0C2akG
=rale
-----END PGP SIGNATURE-----
From 33fca502f10400020c737a4bef440532235f2b24 Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <[email protected]>
Date: Mon, 8 Mar 2010 12:23:08 -0500
Subject: [PATCH] Package libcollection documentation into libcollection-devel

---
 Makefile.am              |    4 +++-
 common/Makefile.am       |    6 ++++++
 common/collection/README |    2 --
 contrib/sssd.spec.in     |    6 +++++-
 4 files changed, 14 insertions(+), 4 deletions(-)
 delete mode 100644 common/collection/README

diff --git a/Makefile.am b/Makefile.am
index cfdce61..3a1fb5b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -58,4 +58,6 @@ tests: all
 	done
 
 docs:
-	$(MAKE) -C src $@
+	for subdir in $(SUBDIRS); do \
+		$(MAKE) -C $$subdir $@; \
+	done
diff --git a/common/Makefile.am b/common/Makefile.am
index cbd2866..331f75d 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -1,5 +1,6 @@
 ACLOCAL_AMFLAGS = -I m4
 SUBDIRS = trace collection ini dhash path_utils refarray
+DOCDIRS = collection
 
 dist_noinst_DATA = \
     m4
@@ -25,3 +26,8 @@ tests: all
 	for subdir in $(SUBDIRS); do \
 		$(MAKE) -C $$subdir $@; \
 	done
+
+docs:
+	for subdir in $(DOCDIRS); do \
+		$(MAKE) -C $$subdir $@; \
+	done
diff --git a/common/collection/README b/common/collection/README
deleted file mode 100644
index 83a7b92..0000000
--- a/common/collection/README
+++ /dev/null
@@ -1,2 +0,0 @@
-Documentation for libcollection can be found in collection.h and
-collection_tools.h
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 5efde3b..81cc1fc 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -207,6 +207,10 @@ KRB5_LIBS=-lkrb5 \
 
 make %{?_smp_mflags}
 
+pushd common/collection
+make %{?_smp_mflags} docs
+popd
+
 %check
 make %{?_smp_mflags} check
 
@@ -364,7 +368,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/collection_stack.h
 %{_libdir}/libcollection.so
 %{_libdir}/pkgconfig/collection.pc
-%doc common/collection/README
+%doc common/collection/doc/html/
 
 %files -n libini_config
 %defattr(-,root,root,-)
-- 
1.6.6.1

Attachment: 0001-Package-libcollection-documentation-into-libcollecti.patch.sig
Description: PGP signature

_______________________________________________
sssd-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to