From 41e81d7048ab8a9bf9730212f7f5ea18b051d2dc Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Mon, 30 Jan 2006 21:58:23 +0000 Subject: Relevant BUGIDs: none Purpose of commit: bugfix/cleanup Commit summary: --------------- Instead of duplicating the xml rules for every directory again, include them from the top level one. 2006-01-30 Thorsten Kukuk * modules/pam_exec/pam_exec.8.xml: Fix syntax of Return Value section. * modules/pam_exec/Makefile.am: Include Make.xml.rules. * Make.xml.rules: New. --- ChangeLog | 7 +++++++ Make.xml.rules | 22 ++++++++++++++++++++++ modules/pam_exec/Makefile.am | 8 +------- modules/pam_exec/pam_exec.8 | 10 +++++----- modules/pam_exec/pam_exec.8.xml | 25 +++++++------------------ 5 files changed, 42 insertions(+), 30 deletions(-) create mode 100644 Make.xml.rules diff --git a/ChangeLog b/ChangeLog index 1761ff7b..f7f1f49b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-01-30 Thorsten Kukuk + + * modules/pam_exec/pam_exec.8.xml: Fix syntax of Return Value section. + * modules/pam_exec/Makefile.am: Include Make.xml.rules. + + * Make.xml.rules: New. + 2006-01-27 Thorsten Kukuk * configure.in: Prefer libdb over libndbm, fix check for diff --git a/Make.xml.rules b/Make.xml.rules new file mode 100644 index 00000000..f6512aae --- /dev/null +++ b/Make.xml.rules @@ -0,0 +1,22 @@ +# +# Copyright (c) 2006 Thorsten Kukuk +# + +%.1: %.1.xml + $(XMLLINT) --nonet --xinclude --postvalid --noout $< + $(XSLTPROC) --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + +%.3: %.3.xml + $(XMLLINT) --nonet --xinclude --postvalid --noout $< + $(XSLTPROC) --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + +%.5: %.5.xml + $(XMLLINT) --nonet --xinclude --postvalid --noout $< + $(XSLTPROC) --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + +%.8: %.8.xml + $(XMLLINT) --nonet --xinclude --postvalid --noout $< + $(XSLTPROC) --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + +#CLEANFILES += $(man_MANS) + diff --git a/modules/pam_exec/Makefile.am b/modules/pam_exec/Makefile.am index e67013d1..e7ecd591 100644 --- a/modules/pam_exec/Makefile.am +++ b/modules/pam_exec/Makefile.am @@ -22,12 +22,6 @@ endif securelib_LTLIBRARIES = pam_exec.la if ENABLE_REGENERATE_MAN - -pam_exec.8: pam_exec.8.xml - $(XMLLINT) --nonet --xinclude --postvalid --noout $< - $(XSLTPROC) --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< - -#CLEANFILES += $(man_MANS) - +-include $(top_srcdir)/Make.xml.rules endif diff --git a/modules/pam_exec/pam_exec.8 b/modules/pam_exec/pam_exec.8 index 6ecd2dc9..96761ac6 100644 --- a/modules/pam_exec/pam_exec.8 +++ b/modules/pam_exec/pam_exec.8 @@ -2,7 +2,7 @@ .\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). .\" Instead of manually editing it, you probably should edit the DocBook XML .\" source for it and then use the DocBook XSL Stylesheets to regenerate it. -.TH "PAM_EXEC" "8" "01/24/2006" "Linux\-PAM Manual" "Linux\-PAM Manual" +.TH "PAM_EXEC" "8" "01/30/2006" "Linux\-PAM Manual" "Linux\-PAM Manual" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) @@ -39,16 +39,16 @@ are supported. .SH "RETURN VALUES" .PP .TP -\fBPAM_SUCCESS\fR +PAM_SUCCESS The external command runs successfull. .TP -\fBPAM_SERVICE_ERR\fR +PAM_SERVICE_ERR No argument or a wrong number of arguments were given. .TP -\fBPAM_SYSTEM_ERR\fR +PAM_SYSTEM_ERR A system error occured or the command to execute failed. .TP -\fBPAM_IGNORE\fR +PAM_IGNORE \fBpam_setcred\fR was called, which does not execute the command. .SH "EXAMPLES" diff --git a/modules/pam_exec/pam_exec.8.xml b/modules/pam_exec/pam_exec.8.xml index 112f76cd..3b681cf2 100644 --- a/modules/pam_exec/pam_exec.8.xml +++ b/modules/pam_exec/pam_exec.8.xml @@ -109,9 +109,7 @@ - - - + PAM_SUCCESS The external command runs successfull. @@ -120,9 +118,7 @@ - - - + PAM_SERVICE_ERR No argument or a wrong number of arguments were given. @@ -131,9 +127,7 @@ - - - + PAM_SYSTEM_ERR A system error occured or the command to execute failed. @@ -142,9 +136,7 @@ - - - + PAM_IGNORE pam_setcred was called, which @@ -176,16 +168,13 @@ See Also - pam.conf - 5 + pam.conf5 , - pam.d - 8 + pam.d8 , - pam - 8 + pam8 -- cgit v1.2.3