Lines Matching refs:mk
3 # install-mk - install mk files
6 # install-mk [options] [var=val] [dest]
9 # This tool installs mk files in a semi-intelligent manner into
16 # -f use -f when copying sys,mk.
38 # All our *.mk files are copied to "dest" with appropriate
41 # By default if a sys.mk can be found in a standard location
42 # (that bmake will find) then no sys.mk will be put in "dest".
45 # If set, we will avoid installing our 'sys.mk'
49 # If set, we will skip making bsd.*.mk links to *.mk
51 # sys.mk:
54 # mk dir - '/usr/share/mk') we install our own 'sys.mk' which
62 # $Id: install-mk,v 1.268 2025/07/24 15:55:48 sjg Exp $
109 echo "$0 -o bin -g bin -m 444 /usr/local/share/mk"
133 SYS_MK_DIR=${SYS_MK_DIR:-/usr/share/mk}
134 SYS_MK=${SYS_MK:-$SYS_MK_DIR/sys.mk}
157 if [ ! -d $dest/sys -a ! -s $dest/Generic.sys.mk ]; then
176 mk_files=`grep '^[a-z].*\.mk' FILES | $egrep -v '(examples/|^sys\.mk|sys/)'`
178 sys_mk_files=`grep 'sys/.*\.mk' FILES`
180 [ -z "$SKIP_SYS_MK" ] && mk_files="sys.mk $mk_files"
190 # if this is a BSD system the bsd.*.mk should exist and be used.
194 b=bsd.$f.mk
195 [ -s $b ] || Do ln -s $f.mk $b