diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-01-31 16:39:36 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-01 19:33:29 -0500 |
commit | 4d81fe27ced3d2e96866aeaf61661a925cb8edf1 (patch) | |
tree | 2490570d947acaca58e5e9a5196a34372154b037 /src/man | |
parent | 3989d650bec60c66c02bc72f7313acdc876aae58 (diff) | |
download | sssd-4d81fe27ced3d2e96866aeaf61661a925cb8edf1.tar.gz sssd-4d81fe27ced3d2e96866aeaf61661a925cb8edf1.tar.bz2 sssd-4d81fe27ced3d2e96866aeaf61661a925cb8edf1.zip |
Use profiling Docbook XSLT only if available, fall back to normal
Diffstat (limited to 'src/man')
-rw-r--r-- | src/man/Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/man/Makefile.am b/src/man/Makefile.am index 36c3921d..6e23830a 100644 --- a/src/man/Makefile.am +++ b/src/man/Makefile.am @@ -16,9 +16,14 @@ endif #Special Rules: export SGML_CATALOG_FILES -DOCBOOK_XSLT = http://docbook.sourceforge.net/release/xsl/current/manpages/profile-docbook.xsl +DOCBOOK_XSLT = @DOCBOOK_XSLT@ +DOCBOOK_XSLT ?= http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl XMLLINT_FLAGS = --catalogs --postvalid --nonet --xinclude --noout -XSLTPROC_FLAGS = --stringparam profile.condition "$(CONDS)" --catalogs --xinclude --nonet +XSLTPROC_FLAGS = --catalogs --xinclude --nonet + +if HAVE_PROFILE_CATALOGS +XSLTPROC_FLAGS += --stringparam profile.condition "$(CONDS)" +endif man_MANS = \ sss_useradd.8 sss_userdel.8 sss_usermod.8 \ |