* man/generate_mans.mak, man/generate_translations.mak: Provide an
useful error message when --enable-man is not enabled and the translated manpages are not generated.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
if ENABLE_REGENERATE_MAN
|
||||
|
||||
if USE_PAM
|
||||
PAM_COND=pam
|
||||
else
|
||||
@@ -18,13 +16,16 @@ SHA_CRYPT_COND=no_sha_crypt
|
||||
endif
|
||||
|
||||
%: %.xml Makefile config.xml
|
||||
if ENABLE_REGENERATE_MAN
|
||||
$(XSLTPROC) --stringparam profile.condition "$(PAM_COND);$(SHADOWGRP_COND);$(SHA_CRYPT_COND)" \
|
||||
-nonet http://docbook.sourceforge.net/release/xsl/current/manpages/profile-docbook.xsl $<
|
||||
else
|
||||
@echo you need to run configure with --enable-man to generate man pages
|
||||
@false
|
||||
endif
|
||||
|
||||
grpconv.8 grpunconv.8 pwunconv.8: pwconv.8
|
||||
|
||||
getspnam.3: shadow.3
|
||||
|
||||
vigr.8: vipw.8
|
||||
|
||||
endif
|
||||
|
Reference in New Issue
Block a user