man: conditionally build lastlog documentation

Resolves: https://github.com/shadow-maint/shadow/issues/674

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
This commit is contained in:
Iker Pedrosa
2023-07-15 07:39:53 -05:00
committed by Serge Hallyn
parent 03251ffbc0
commit acea93eda9
13 changed files with 63 additions and 14 deletions
+4 -1
View File
@@ -15,7 +15,6 @@ man_MANS = \
man8/groupmod.8 \
man1/groups.1 \
man8/grpck.8 \
man8/lastlog.8 \
man8/logoutd.8 \
man1/newgrp.1 \
man1/sg.1 \
@@ -25,6 +24,10 @@ man_MANS = \
man8/vigr.8 \
man8/vipw.8
if ENABLE_LASTLOG
man_MANS += man8/lastlog.8
endif
man_nopam = \
man5/porttime.5