build: Move all of lp under LPR option

* Tag related directories with package=lp

* Make the examples/printing directory conditional on MK_LPR

* Make the hosts.lpd(5) manual page conditional on MK_LPR

MFC after:	3 days
This commit is contained in:
Dag-Erling Smørgrav
2026-02-20 19:20:04 +01:00
parent 7965c93e4d
commit d4f6cb7542
5 changed files with 27 additions and 7 deletions
+3 -1
View File
@@ -25,7 +25,6 @@ LDIRS= BSD_daemon \
perfmon \
ppi \
ppp \
printing \
ses \
scsi_target \
sound \
@@ -250,6 +249,8 @@ SE_PPP= \
ppp.secret.span-isp \
ppp.secret.span-isp.working
.if ${MK_LPR} != "no"
LDIRS+= printing
SE_DIRS+= printing
SE_PRINTINGPACKAGE=lp
SE_PRINTING= \
@@ -269,6 +270,7 @@ SE_PRINTING= \
psif \
pstf \
pstfX
.endif
SE_DIRS+= ses
SE_SES= \