]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/ntp/sntp/bincheck.mf
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / ntp / sntp / bincheck.mf
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
5 install-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 #