Add support for conditionally including paragraphs. (e.g. to support the

documentation of PAM and !PAM features).

I hate docbook!
This commit is contained in:
nekral-guest 2007-11-22 00:01:58 +00:00
parent a34110320f
commit f171d63b5b
2 changed files with 15 additions and 1 deletions

View File

@ -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> 2007-11-21 Nicolas François <nicolas.francois@centraliens.net>
* man/newusers.8.xml: Added /etc/gshadow, /etc/group, /etc/shadow, * man/newusers.8.xml: Added /etc/gshadow, /etc/group, /etc/shadow,

View File

@ -114,8 +114,16 @@ EXTRA_DIST = \
if ENABLE_REGENERATE_MAN if ENABLE_REGENERATE_MAN
if USE_PAM
PAM_COND=pam
else
PAM_COND=no_pam
endif
TUTU_COND=tutu
%: %.xml %: %.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 grpconv.8 grpunconv.8 pwunconv.8: pwconv.8