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>
diff --git a/libselinux/utils/Makefile b/libselinux/utils/Makefile
index d6335da..d76ccfa 100644
--- a/libselinux/utils/Makefile
+++ b/libselinux/utils/Makefile
@@ -35,18 +35,16 @@
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