1ea906c41SOllivier Robert# we traditionally installed software in bindir, while it should have gone 2ea906c41SOllivier Robert# in sbindir. Now that we offer a choice, look in the "other" installation 3ea906c41SOllivier Robert# subdir to warn folks if there is another version there. 4ea906c41SOllivier Robert 5ea906c41SOllivier Robertinstall-exec-hook: 6*2b15cb3dSCy Schubert @test -z "${bin_PROGRAMS}${bin_SCRIPTS}" \ 7ea906c41SOllivier Robert || for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do \ 8*2b15cb3dSCy Schubert test ! -f ${sbindir}/$$i \ 9*2b15cb3dSCy Schubert || echo "*** $$i is also in ${sbindir}!"; \ 10*2b15cb3dSCy Schubert done 11*2b15cb3dSCy Schubert @test -z "${sbin_PROGRAMS}${asbin_SCRIPTS}" \ 12*2b15cb3dSCy Schubert || for i in ${sbin_PROGRAMS} ${sbin_SCRIPTS} " "; do \ 13*2b15cb3dSCy Schubert test ! -f ${bindir}/$$i \ 14*2b15cb3dSCy Schubert || echo "*** $$i is also in ${bindir}!"; \ 15ea906c41SOllivier Robert done 16ea906c41SOllivier Robert 17ea906c41SOllivier Robert# 18