From: nekral-guest Date: Thu, 22 Nov 2007 00:01:58 +0000 (+0000) Subject: Add support for conditionally including paragraphs. (e.g. to support the X-Git-Tag: 4.1.0~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f171d63b5b29e6224ba2455411cb0d39003b48ac;p=thirdparty%2Fshadow.git Add support for conditionally including paragraphs. (e.g. to support the documentation of PAM and !PAM features). I hate docbook! --- diff --git a/ChangeLog b/ChangeLog index 2f33ce78b..c5fab2d1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-11-22 Nicolas François + + * man/Makefile.am: Add support for conditionally including + paragraphs. (e.g. to support the documentation of PAM and !PAM + features). + 2007-11-21 Nicolas François * man/newusers.8.xml: Added /etc/gshadow, /etc/group, /etc/shadow, diff --git a/man/Makefile.am b/man/Makefile.am index 41eaf10ad..e34657d60 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -114,8 +114,16 @@ EXTRA_DIST = \ if ENABLE_REGENERATE_MAN +if USE_PAM +PAM_COND=pam +else +PAM_COND=no_pam +endif +TUTU_COND=tutu + %: %.xml - $(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + $(XSLTPROC) --stringparam profile.condition "$(PAM_COND);$(TUTU_COND)" \ + -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/profile-docbook.xsl $< grpconv.8 grpunconv.8 pwunconv.8: pwconv.8