From: Anders Roxell Date: Thu, 9 Sep 2021 14:10:28 +0900 Subject: rt-tests: install get_cyclictest_snapshotdirectly into $sbindir The python_lib directory is only for importable modules. Follow the same principle as hwlatdetect in install it into $sbindir. --- Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) --- a/Makefile +++ b/Makefile @@ -237,12 +237,8 @@ .PHONY: install_get_cyclictest_snapshot install_get_cyclictest_snapshot: get_cyclictest_snapshot - if test -n "${PYLIB}" ; then \ - mkdir -p "${DESTDIR}${bindir}" ; \ - install -D -m 755 src/cyclictest/get_cyclictest_snapshot.py ${DESTDIR}${PYLIB}/get_cyclictest_snapshot.py ; \ - rm -f "${DESTDIR}${bindir}/get_cyclictest_snapshot" ; \ - ln -s ${PYLIB}/get_cyclictest_snapshot.py "${DESTDIR}${bindir}/get_cyclictest_snapshot" ; \ - fi + mkdir -p "${DESTDIR}${sbindir}" + install -D -m 755 src/cyclictest/get_cyclictest_snapshot.py $(DESTDIR)$(sbindir)/get_cyclictest_snapshot .PHONY: install_manpages install_manpages: $(MANPAGES)