Skip to content

Commit

Permalink
libselinux: do not duplicate make target when going into subdirectory
Browse files Browse the repository at this point in the history
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 <nicolas.iooss@m4x.org>
  • Loading branch information
fishilico committed Apr 30, 2021
1 parent d0a07a7 commit f63263c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions libselinux/Makefile
Expand Up @@ -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:

0 comments on commit f63263c

Please sign in to comment.