Skip to content

Commit a917cd0

Browse files
michel-slmkuba-moo
authored andcommitted
tools/net/ynl: Makefile's install target now installs ynltool
This tool is built by default, but was not being installed by default when running `make install`. Fix this by calling ynltool's install target. Signed-off-by: Michel Lind <michel@michel-slm.name> Link: https://patch.msgid.link/aWqr9gUT4hWZwwcI@mbp-m3-fedora.vm Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent a9f4705 commit a917cd0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/net/ynl/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ clean distclean:
4141
rm -rf pyynl.egg-info
4242
rm -rf build
4343

44-
install: libynl.a lib/*.h
44+
install: libynl.a lib/*.h ynltool
4545
@echo -e "\tINSTALL libynl.a"
4646
@$(INSTALL) -d $(DESTDIR)$(libdir)
4747
@$(INSTALL) -m 0644 libynl.a $(DESTDIR)$(libdir)/libynl.a
@@ -51,6 +51,7 @@ install: libynl.a lib/*.h
5151
@echo -e "\tINSTALL pyynl"
5252
@pip install --prefix=$(DESTDIR)$(prefix) .
5353
@make -C generated install
54+
@make -C ynltool install
5455

5556
run_tests:
5657
@$(MAKE) -C tests run_tests

0 commit comments

Comments
 (0)