File: bincheck.mf

package info (click to toggle)
ntp 1%3A4.2.2.p4%2Bdfsg-2etch4
  • links: PTS
  • area: main
  • in suites: etch
  • size: 10,236 kB
  • ctags: 10,865
  • sloc: ansic: 90,242; sh: 4,314; perl: 1,331; makefile: 631; awk: 417; asm: 37; sed: 7
file content (15 lines) | stat: -rw-r--r-- 525 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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=${exec_prefix}/sbin ;;			\
	 sbin) ODIR=${exec_prefix}/bin ;;			\
	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

#