pkgbase: Move login.access to usb.bin/login

Also remove the etc-examples target as we don't have any files
to handle here.

Reviewed by:	bapt
This commit is contained in:
manu 2019-05-22 07:23:03 +00:00
parent c428676f7e
commit 5722fa2f58
3 changed files with 2 additions and 18 deletions

View File

@ -14,10 +14,6 @@ UPDATE_DEPENDFILE= no
SUBDIR+=sendmail
.endif
BIN1= \
login.access \
login.access
# NB: keep these sorted by MK_* knobs
.if ${MK_SENDMAIL} == "no"
@ -56,9 +52,6 @@ distribution:
@echo "set DESTDIR before running \"make ${.TARGET}\""
@false
.endif
cd ${.CURDIR}; \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
${BIN1} ${DESTDIR}/etc
${_+_}cd ${.CURDIR}/gss; ${MAKE} install
${_+_}cd ${.CURDIR}/mtree; ${MAKE} install
${_+_}cd ${SRCTOP}/share/termcap; ${MAKE} etc-termcap
@ -168,11 +161,6 @@ distrib-dirs: ${MTREES:N/*} distrib-cleanup .PHONY
.endfor
.endif
etc-examples: ${META_DEPS}
cd ${.CURDIR}; ${INSTALL} ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 \
${BIN1} ${BIN2} \
${DESTDIR}${SHAREDIR}/examples/etc
.include <bsd.prog.mk>
.if ${MK_INSTALL_AS_USER} == "yes" && ${_uid} != 0

View File

@ -381,9 +381,8 @@ SER_${d:tu:C/\//_/g}DIR+= ${SHAREDIR}/examples/${d}
BINDIR= ${SHAREDIR}/examples
beforeinstall: copies etc-examples
beforeinstall: copies
META_TARGETS+= copies
.ORDER: etc-examples
copies:
.for i in ${LDIRS}
@ -392,9 +391,6 @@ copies:
fi
.endfor
etc-examples:
${_+_}(cd ${SRCTOP}/etc; ${MAKE} etc-examples)
SUBDIR+= smbfs
HAS_TESTS=

View File

@ -3,7 +3,7 @@
.include <src.opts.mk>
CONFS= fbtab login.conf motd
CONFS= fbtab login.conf motd login.access
PROG= login
SRCS= login.c login_fbtab.c
CFLAGS+=-DLOGALL