* man/Makefile.am, man/generate_mans.mak: Update clean targets,
due to the generation in separate sub folders.
This commit is contained in:
parent
e108f473ec
commit
faaa8daffb
@ -1,3 +1,8 @@
|
|||||||
|
2012-05-20 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* man/Makefile.am, man/generate_mans.mak: Update clean targets,
|
||||||
|
due to the generation in separate sub folders.
|
||||||
|
|
||||||
2012-05-20 Nicolas François <nicolas.francois@centraliens.net>
|
2012-05-20 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* man/su.1.xml: Document author to avoid warnings during
|
* man/su.1.xml: Document author to avoid warnings during
|
||||||
|
@ -187,7 +187,7 @@ if ENABLE_REGENERATE_MAN
|
|||||||
|
|
||||||
include generate_mans.mak
|
include generate_mans.mak
|
||||||
|
|
||||||
CLEANFILES = $(man_MANS)
|
CLEANFILES = $(man_MANS) man1/id.1 man8/sulogin.8
|
||||||
|
|
||||||
else
|
else
|
||||||
$(man_MANS):
|
$(man_MANS):
|
||||||
|
@ -30,9 +30,14 @@ if ENABLE_REGENERATE_MAN
|
|||||||
|
|
||||||
man1/% man3/% man5/% man8/%: %.xml-config Makefile config.xml
|
man1/% man3/% man5/% man8/%: %.xml-config Makefile config.xml
|
||||||
$(XSLTPROC) --stringparam profile.condition "$(PAM_COND);$(SHADOWGRP_COND);$(TCB_COND);$(SHA_CRYPT_COND)" \
|
$(XSLTPROC) --stringparam profile.condition "$(PAM_COND);$(SHADOWGRP_COND);$(TCB_COND);$(SHA_CRYPT_COND)" \
|
||||||
|
--param "man.authors.section.enabled" "0" \
|
||||||
--stringparam "man.output.base.dir" "" \
|
--stringparam "man.output.base.dir" "" \
|
||||||
--param "man.output.in.separate.dir" "1" \
|
--param "man.output.in.separate.dir" "1" \
|
||||||
-nonet http://docbook.sourceforge.net/release/xsl/current/manpages/profile-docbook.xsl $<
|
-nonet http://docbook.sourceforge.net/release/xsl/current/manpages/profile-docbook.xsl $<
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
for d in man1 man3 man5 man8; do [ -d $$d ] && rmdir $$d; done
|
||||||
|
|
||||||
else
|
else
|
||||||
$(man_MANS):
|
$(man_MANS):
|
||||||
@echo you need to run configure with --enable-man to generate man pages
|
@echo you need to run configure with --enable-man to generate man pages
|
||||||
|
Loading…
Reference in New Issue
Block a user