diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-03-08 12:23:08 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-03-08 13:42:47 -0500 |
commit | e7f6e1953ce07bdcf25571152a3bcd412d8c5ba0 (patch) | |
tree | 80104179c0caf64363fd43cd1e26307c654f8563 | |
parent | dd785dbfa82249c315e102f6a355f1580d3c7436 (diff) | |
download | sssd-e7f6e1953ce07bdcf25571152a3bcd412d8c5ba0.tar.gz sssd-e7f6e1953ce07bdcf25571152a3bcd412d8c5ba0.tar.xz sssd-e7f6e1953ce07bdcf25571152a3bcd412d8c5ba0.zip |
Package libcollection documentation into libcollection-devel
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | common/Makefile.am | 6 | ||||
-rw-r--r-- | common/collection/README | 2 | ||||
-rw-r--r-- | contrib/sssd.spec.in | 6 |
4 files changed, 14 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index cfdce61c2..3a1fb5be3 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 cbd2866ce..331f75d8a 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 83a7b923e..000000000 --- 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 3acecd3cc..324131a0e 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -205,6 +205,10 @@ KRB5_LIBS=-lkrb5 \ make %{?_smp_mflags} +pushd common/collection +make %{?_smp_mflags} docs +popd + %check make %{?_smp_mflags} check @@ -360,7 +364,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,-) |