You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
433 B

# Installation directories.
LINGUAS ?= ru
PREFIX ?= /usr
MANDIR ?= $(PREFIX)/share/man
MAN5DIR ?= $(MANDIR)/man5
all:
clean:
install: all
mkdir -p $(DESTDIR)$(MAN5DIR)
install -m 644 man5/*.5 $(DESTDIR)$(MAN5DIR)
for lang in $(LINGUAS) ; do \
if [ -e $${lang}/man5 ] ; then \
mkdir -p $(DESTDIR)$(MANDIR)/$${lang}/man5 ; \
install -m 644 $${lang}/man5/*.5 $(DESTDIR)$(MANDIR)/$${lang}/man5 ; \
fi ; \
done
relabel: