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:
Dan Walsh 2012-01-27 14:41:58 -05:00 committed by Eric Paris
parent a56e91742f
commit 9b796ead1a

View File

@ -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