Debian Codegraph @

debian/patches/0005-rt-tests-install-get_cyclictest_snapshotdirectly-int.patch

raw
1 From: Anders Roxell <[email protected]>
2 Date: Thu, 9 Sep 2021 14:10:28 +0900
3 Subject: rt-tests: install get_cyclictest_snapshotdirectly into $sbindir
4
5 The python_lib directory is only for importable modules. Follow the
6 same principle as hwlatdetect in install it into $sbindir.
7 ---
8 Makefile | 8 ++------
9 1 file changed, 2 insertions(+), 6 deletions(-)
10
11 --- a/Makefile
12 +++ b/Makefile
13 @@ -237,12 +237,8 @@
14
15 .PHONY: install_get_cyclictest_snapshot
16 install_get_cyclictest_snapshot: get_cyclictest_snapshot
17 - if test -n "${PYLIB}" ; then \
18 - mkdir -p "${DESTDIR}${bindir}" ; \
19 - install -D -m 755 src/cyclictest/get_cyclictest_snapshot.py ${DESTDIR}${PYLIB}/get_cyclictest_snapshot.py ; \
20 - rm -f "${DESTDIR}${bindir}/get_cyclictest_snapshot" ; \
21 - ln -s ${PYLIB}/get_cyclictest_snapshot.py "${DESTDIR}${bindir}/get_cyclictest_snapshot" ; \
22 - fi
23 + mkdir -p "${DESTDIR}${sbindir}"
24 + install -D -m 755 src/cyclictest/get_cyclictest_snapshot.py $(DESTDIR)$(sbindir)/get_cyclictest_snapshot
25
26 .PHONY: install_manpages
27 install_manpages: $(MANPAGES)