mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-24 15:02:44 +00:00
libselinux: utils: Stop separating out matchpathcon as something special
It's not special and doesn't need its own Makefile lines. Just make it a normal target. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
a56e91742f
commit
9b796ead1a
@ -35,18 +35,16 @@ endif
|
||||
ifeq ($(DISABLE_BOOL),y)
|
||||
UNUSED_TARGETS+=getsebool togglesebool
|
||||
endif
|
||||
TARGETS:= $(filter-out $(UNUSED_TARGETS) matchpathcon, $(TARGETS))
|
||||
TARGETS:= $(filter-out $(UNUSED_TARGETS), $(TARGETS))
|
||||
|
||||
all: $(TARGETS) matchpathcon
|
||||
all: $(TARGETS)
|
||||
|
||||
install: all
|
||||
-mkdir -p $(USRBINDIR)
|
||||
install -m 755 $(TARGETS) $(USRBINDIR)
|
||||
-mkdir -p $(SBINDIR)
|
||||
install -m 755 matchpathcon $(SBINDIR)
|
||||
(cd $(BINDIR); ln -fs ../../sbin/matchpathcon)
|
||||
clean:
|
||||
rm -f $(TARGETS) matchpathcon *.o *~
|
||||
rm -f $(TARGETS) *.o *~
|
||||
|
||||
distclean: clean
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user