From f63263c2d002fc8a4e681ea1a1b1db1e455acc49 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Thu, 22 Apr 2021 08:43:56 +0200 Subject: [PATCH] libselinux: do not duplicate make target when going into subdirectory When running "make install-pywrap", make displays: make[1]: Entering directory '/root/selinux/libselinux' make -C src install-pywrap install-pywrap make[2]: Entering directory '/root/selinux/libselinux/src' The duplicated "install-pywrap" is not expected. Remove it from the Makefile. Signed-off-by: Nicolas Iooss --- libselinux/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libselinux/Makefile b/libselinux/Makefile index ac16c15e..439bc6a9 100644 --- a/libselinux/Makefile +++ b/libselinux/Makefile @@ -50,24 +50,24 @@ all install relabel clean distclean indent: done swigify: all - $(MAKE) -C src swigify $@ + $(MAKE) -C src $@ pywrap: - $(MAKE) -C src pywrap $@ + $(MAKE) -C src $@ rubywrap: - $(MAKE) -C src rubywrap $@ + $(MAKE) -C src $@ install-pywrap: - $(MAKE) -C src install-pywrap $@ + $(MAKE) -C src $@ install-rubywrap: - $(MAKE) -C src install-rubywrap $@ + $(MAKE) -C src $@ clean-pywrap: - $(MAKE) -C src clean-pywrap $@ + $(MAKE) -C src $@ clean-rubywrap: - $(MAKE) -C src clean-rubywrap $@ + $(MAKE) -C src $@ test: