1# Installation directories. 2LINGUAS ?= ru 3PREFIX ?= /usr 4MANDIR ?= $(PREFIX)/share/man 5MAN5DIR ?= $(MANDIR)/man5 6 7all: 8 9clean: 10 11install: all 12 mkdir -p $(DESTDIR)$(MAN5DIR) 13 install -m 644 man5/*.5 $(DESTDIR)$(MAN5DIR) 14 for lang in $(LINGUAS) ; do \ 15 if [ -e $${lang}/man5 ] ; then \ 16 mkdir -p $(DESTDIR)$(MANDIR)/$${lang}/man5 ; \ 17 install -m 644 $${lang}/man5/*.5 $(DESTDIR)$(MANDIR)/$${lang}/man5 ; \ 18 fi ; \ 19 done 20 21relabel: 22