mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-02 19:52:03 +00:00
14f35fde50
Since they are being removed, there will be nothing to install. Suggested-by: Petr Lautrbach <plautrba@redhat.com> Signed-off-by: James Carter <jwcart2@gmail.com> Acked-by: Petr Lautrbach <lautrbach@redhat.com>
27 lines
541 B
Makefile
27 lines
541 B
Makefile
# Installation directories.
|
|
LINGUAS ?=
|
|
PREFIX ?= /usr
|
|
SBINDIR ?= $(PREFIX)/sbin
|
|
MANDIR ?= $(PREFIX)/share/man
|
|
|
|
.PHONY: all
|
|
all: fixfiles
|
|
|
|
install: all
|
|
-mkdir -p $(DESTDIR)$(SBINDIR)
|
|
install -m 755 fixfiles $(DESTDIR)$(SBINDIR)
|
|
-mkdir -p $(DESTDIR)$(MANDIR)/man8
|
|
install -m 644 fixfiles.8 $(DESTDIR)$(MANDIR)/man8/
|
|
for lang in $(LINGUAS) ; do \
|
|
if [ -e $${lang} ] ; then \
|
|
mkdir -p $(DESTDIR)$(MANDIR)/$${lang}/man8 ; \
|
|
install -m 644 $${lang}/*.8 $(DESTDIR)$(MANDIR)/$${lang}/man8/ ; \
|
|
fi ; \
|
|
done
|
|
|
|
clean:
|
|
|
|
indent:
|
|
|
|
relabel:
|