[Pkg-shadow-commits] r1434 - in upstream/trunk: . man

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Thu Nov 22 00:01:59 UTC 2007


Author: nekral-guest
Date: 2007-11-22 00:01:58 +0000 (Thu, 22 Nov 2007)
New Revision: 1434

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/man/Makefile.am
Log:
Add support for conditionally including paragraphs. (e.g. to support the
documentation of PAM and !PAM features).

I hate docbook!


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2007-11-21 22:12:14 UTC (rev 1433)
+++ upstream/trunk/ChangeLog	2007-11-22 00:01:58 UTC (rev 1434)
@@ -1,3 +1,9 @@
+2007-11-22  Nicolas François  <nicolas.francois at 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 at centraliens.net>
 
 	* man/newusers.8.xml: Added /etc/gshadow, /etc/group, /etc/shadow,

Modified: upstream/trunk/man/Makefile.am
===================================================================
--- upstream/trunk/man/Makefile.am	2007-11-21 22:12:14 UTC (rev 1433)
+++ upstream/trunk/man/Makefile.am	2007-11-22 00:01:58 UTC (rev 1434)
@@ -114,8 +114,16 @@
 
 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
 




More information about the Pkg-shadow-commits mailing list