]> www.infradead.org Git - users/hch/misc.git/commitdiff
Merge branch 'tools-ynl-add-install-target'
authorJakub Kicinski <kuba@kernel.org>
Thu, 9 Jan 2025 20:53:29 +0000 (12:53 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 9 Jan 2025 20:53:29 +0000 (12:53 -0800)
Jan Stancek says:

====================
tools: ynl: add install target

This series adds an install target for ynl. The python code
is moved to a subdirectory, so it can be used as a package
with flat layout, as well as directly from the tree.

To try the install as a non-root user you can run:
  $ mkdir /tmp/myroot
  $ make DESTDIR=/tmp/myroot install

  $ PATH="/tmp/myroot/usr/bin:$PATH" PYTHONPATH="$(ls -1d /tmp/myroot/usr/lib/python*/site-packages)" ynl --help

Proposed install layout is described in last patch.
====================

Link: https://patch.msgid.link/cover.1736343575.git.jstancek@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge