diff options
Diffstat (limited to 'policycoreutils/semodule/Makefile')
-rw-r--r-- | policycoreutils/semodule/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/policycoreutils/semodule/Makefile b/policycoreutils/semodule/Makefile index 639d3689..73801e48 100644 --- a/policycoreutils/semodule/Makefile +++ b/policycoreutils/semodule/Makefile @@ -1,4 +1,5 @@ # Installation directories. +LINGUAS ?= ru PREFIX ?= /usr SBINDIR ?= $(PREFIX)/sbin MANDIR = $(PREFIX)/share/man @@ -21,6 +22,12 @@ install: all test -d $(DESTDIR)$(MANDIR)/man8 || install -m 755 -d $(DESTDIR)$(MANDIR)/man8 install -m 644 semodule.8 $(DESTDIR)$(MANDIR)/man8/ install -m 644 genhomedircon.8 $(DESTDIR)$(MANDIR)/man8/ + for lang in $(LINGUAS) ; do \ + if [ -e $${lang} ] ; then \ + test -d $(DESTDIR)$(MANDIR)/$${lang}/man8 || install -m 755 -d $(DESTDIR)$(MANDIR)/$${lang}/man8 ; \ + install -m 644 $${lang}/*.8 $(DESTDIR)$(MANDIR)/$${lang}/man8/ ; \ + fi ; \ + done relabel: |