]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Add support for conditionally including paragraphs. (e.g. to support the
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 22 Nov 2007 00:01:58 +0000 (00:01 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 22 Nov 2007 00:01:58 +0000 (00:01 +0000)
documentation of PAM and !PAM features).

I hate docbook!

ChangeLog
man/Makefile.am

index 2f33ce78be81f3dfe813dd7ffdec61a5010f28d1..c5fab2d1fe37886a96284848262e112241d318f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-22  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * 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  <nicolas.francois@centraliens.net>
 
        * man/newusers.8.xml: Added /etc/gshadow, /etc/group, /etc/shadow,
index 41eaf10adc20421e4df1b25ea7b7f6cac2d28562..e34657d6061276550f4a3ebe75e7d80c2de9c9e4 100644 (file)
@@ -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