Annotation of embedaddon/ntp/sntp/bincheck.mf, revision 1.1.1.1

1.1       misho       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:        @case ${BINSUBDIR} in                                           \
                      7:         bin) ODIR=${sbindir} ;;                                        \
                      8:         sbin) ODIR=${bindir} ;;                                        \
                      9:        esac;                                                           \
                     10:        test -z "${bin_PROGRAMS}${bin_SCRIPTS}"                         \
                     11:        || for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do              \
                     12:           test ! -f $$ODIR/$$i || echo "*** $$i is also in $$ODIR!";   \
                     13:        done
                     14: 
                     15: #

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>