Finish moving dot.cshrc and dot.profile to bin/csh/ and bin/sh/.
Approved by: re (gjb), will (mentor) Differential Revision: https://reviews.freebsd.org/D16770
This commit is contained in:
+8
-1
@@ -10,8 +10,9 @@
|
||||
|
||||
CONFGROUPS= ETC ROOT
|
||||
ETC= csh.cshrc csh.login csh.logout
|
||||
ROOT= dot.login
|
||||
ROOT= dot.cshrc dot.login
|
||||
ROOTDIR= /root
|
||||
ROOTNAME_dot.cshrc= .cshrc
|
||||
ROOTNAME_dot.login= .login
|
||||
PACKAGE=runtime
|
||||
TCSHDIR= ${SRCTOP}/contrib/tcsh
|
||||
@@ -153,4 +154,10 @@ tc.const.h: tc.const.c sh.char.h config.h config_f.h sh.types.h sh.err.h ${BUILD
|
||||
sort >> ${.TARGET}
|
||||
@echo '#endif /* _h_tc_const */' >> ${.TARGET}
|
||||
|
||||
beforeinstallconfig:
|
||||
rm -f ${DESTDIR}/.cshrc
|
||||
|
||||
afterinstallconfig:
|
||||
${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
Reference in New Issue
Block a user