diff options
Diffstat (limited to '')
-rw-r--r-- | man/Makefile.am | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/man/Makefile.am b/man/Makefile.am index 4382df6..83b1d68 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -26,7 +26,6 @@ man_MANS = \ man8/grpconv.8 \ man8/grpunconv.8 \ man5/gshadow.5 \ - man8/lastlog.8 \ man1/login.1 \ man5/login.defs.5 \ man8/logoutd.8 \ @@ -48,6 +47,10 @@ man_MANS = \ man8/vigr.8 \ man8/vipw.8 +if ENABLE_LASTLOG +man_MANS += man8/lastlog.8 +endif + man_nopam = \ man5/limits.5 \ man5/login.access.5 \ @@ -90,7 +93,6 @@ man_XMANS = \ groups.1.xml \ grpck.8.xml \ gshadow.5.xml \ - lastlog.8.xml \ limits.5.xml \ login.1.xml \ login.access.5.xml \ @@ -118,7 +120,12 @@ man_XMANS = \ usermod.8.xml \ vipw.8.xml +if ENABLE_LASTLOG +man_XMANS += lastlog.8.xml +endif + login_defs_v = \ + BCRYPT_MIN_ROUNDS.xml \ CHFN_AUTH.xml \ CHFN_RESTRICT.xml \ CHSH_AUTH.xml \ @@ -185,18 +192,22 @@ login_defs_v = \ SUB_GID_COUNT.xml \ SUB_UID_COUNT.xml \ SYS_GID_MAX.xml \ - SYS_UID_MAX.xml + SYS_UID_MAX.xml \ + YESCRYPT_COST_FACTOR.xml EXTRA_DIST = \ $(man_MANS) \ $(man_XMANS) \ + config.xml \ $(addprefix login.defs.d/,$(login_defs_v)) \ man1/id.1 \ id.1.xml \ man8/sulogin.8 \ sulogin.8.xml \ generate_mans.mak \ - generate_translations.mak + generate_translations.mak \ + its.rules \ + shadow-man.xsl if USE_PAM EXTRA_DIST += $(man_nopam) @@ -206,9 +217,9 @@ if !ENABLE_SUBIDS EXTRA_DIST += $(man_subids) endif -generate_mans.deps: *.xml +generate_mans.deps: $(man_XMANS) echo "# This file is generated" > $@ - awk 'BEGIN{FS="\"";} /^<!ENTITY .* * SYSTEM ".*">$$/{ f=FILENAME; sub(/.xml/,"",f); print "man" substr(f, length (f)) "/" f ": " $$2 }' $(man_XMANS) >> $@ + awk 'BEGIN{FS="\"";} /^<!ENTITY .* * SYSTEM ".*">$$/{ f=FILENAME; sub(/.xml/,"",f); print "man" substr(f, length (f)) "/" f ": " $$2 }' $< >> $@ if ENABLE_REGENERATE_MAN |