freebsd-dev/contrib/ntp/sntp/bincheck.mf
Cy Schubert 2b15cb3d09 MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284)
Thanks to roberto for providing pointers to wedge this into HEAD.

Approved by:	roberto
2015-03-30 13:30:15 +00:00

18 lines
605 B
Plaintext

# we traditionally installed software in bindir, while it should have gone
# in sbindir. Now that we offer a choice, look in the "other" installation
# subdir to warn folks if there is another version there.
install-exec-hook:
@test -z "${bin_PROGRAMS}${bin_SCRIPTS}" \
|| for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do \
test ! -f ${sbindir}/$$i \
|| echo "*** $$i is also in ${sbindir}!"; \
done
@test -z "${sbin_PROGRAMS}${asbin_SCRIPTS}" \
|| for i in ${sbin_PROGRAMS} ${sbin_SCRIPTS} " "; do \
test ! -f ${bindir}/$$i \
|| echo "*** $$i is also in ${bindir}!"; \
done
#