File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / bincheck.mf
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:08:37 2012 UTC (11 years, 11 months ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

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

#

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