/contrib/ntp/sntp/bincheck.mf

https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 15 lines · 13 code · 2 blank · 0 comment · 0 complexity · d4324c4a94a51614b6413aa4183d85ba MD5 · raw file

  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. install-exec-hook:
  5. @case ${BINSUBDIR} in \
  6. bin) ODIR=${exec_prefix}/sbin ;; \
  7. sbin) ODIR=${exec_prefix}/bin ;; \
  8. esac; \
  9. test -z "${bin_PROGRAMS}${bin_SCRIPTS}" \
  10. || for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do \
  11. test ! -f $$ODIR/$$i || echo "*** $$i is also in $$ODIR!"; \
  12. done
  13. #