# 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: