[SSSD] [PATCH] Distribute XML sources instead of man-pages

Sumit Bose sbose at redhat.com
Mon Oct 11 15:46:30 UTC 2010


Hi,

currently we distribute the generated man pages with the released tar
balls. This patch replaces them with the XML source files.

bye,
Sumit
-------------- next part --------------
From cd5030b718984904c077dff6470843d8cc3cc344 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose at redhat.com>
Date: Mon, 11 Oct 2010 17:42:07 +0200
Subject: [PATCH] Distribute XML sources instead of man-pages

---
 Makefile.am |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 436ddd5..bd2b9c1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -975,13 +975,14 @@ DOCBOOK_XSLT = http://docbook.sourceforge.net/release/xsl/current/manpages/docbo
 XMLLINT_FLAGS = --catalogs --postvalid --nonet --xinclude --noout
 XSLTPROC_FLAGS = --catalogs --xinclude --nonet
 
-dist_man_MANS = \
+man_MANS = \
     src/man/sss_useradd.8 src/man/sss_userdel.8 src/man/sss_usermod.8 \
     src/man/sss_groupadd.8 src/man/sss_groupdel.8 src/man/sss_groupmod.8 \
     src/man/sssd.8 src/man/sssd.conf.5 src/man/sssd-ldap.5 \
     src/man/sssd-krb5.5 src/man/sssd-ipa.5 src/man/sssd-simple.5 \
     src/man/sssd_krb5_locator_plugin.8 src/man/sss_groupshow.8 \
     src/man/pam_sss.8 src/man/sss_obfuscate.8
+EXTRA_DIST += $(man_MANS:%=%.xml) $(wildcard src/man/include/*.xml)
 
 SUFFIXES = .1.xml .1 .3.xml .3 .5.xml .5 .8.xml .8
 .1.xml.1:
@@ -1090,7 +1091,7 @@ if BUILD_PYTHON_BINDINGS
 	cd $(srcdir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config clean --all
 endif
 	rm -Rf doc
-	rm -f $(dist_man_MANS)
+	rm -f $(man_MANS)
 
 CLEANFILES = *.X */*.X */*/*.X
 
-- 
1.7.2.3



More information about the sssd-devel mailing list