Skip to content

Commit

Permalink
man/: Install suauth.5 only if feature exists
Browse files Browse the repository at this point in the history
Support for /etc/suauth only exists if su is installed without
PAM support. If su is not installed (--without-su) or if PAM
support is enabled (default), do not install suauth.5 manual
page.

Signed-off-by: Tobias Stoeckmann <[email protected]>
  • Loading branch information
stoeckmann committed Jan 12, 2025
1 parent 1807360 commit 02b093d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ man_MANS = \
man1/sg.1 \
man3/shadow.3 \
man5/shadow.5 \
man5/suauth.5 \
man8/useradd.8 \
man8/userdel.8 \
man8/usermod.8 \
Expand All @@ -57,6 +56,7 @@ man_nopam = \

if WITH_SU
man_MANS += man1/su.1
man_nopam += man5/suauth.5
endif

if !USE_PAM
Expand Down

0 comments on commit 02b093d

Please sign in to comment.