xref: /freebsd/contrib/ntp/sntp/bincheck.mf (revision 7afb8adff33d47f10a11368ff54bb2eec5b30165)
1# we traditionally installed software in bindir, while it should have gone
2# in sbindir.  Now that we offer a choice, look in the "other" installation
3# subdir to warn folks if there is another version there.
4
5install-exec-hook:
6	@test -z "${bin_PROGRAMS}${bin_SCRIPTS}"		\
7	|| for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do	\
8	   test ! -f ${sbindir}/$$i				\
9		|| echo "*** $$i is also in ${sbindir}!";	\
10	done
11	@test -z "${sbin_PROGRAMS}${asbin_SCRIPTS}"		\
12	|| for i in ${sbin_PROGRAMS} ${sbin_SCRIPTS} " "; do	\
13	   test ! -f ${bindir}/$$i				\
14		|| echo "*** $$i is also in ${bindir}!";	\
15	done
16
17#
18