Home | History | Annotate | Download | only in scripts
      1 # Installation directories.
      2 LINGUAS ?= ru
      3 PREFIX ?= /usr
      4 SBINDIR ?= $(PREFIX)/sbin
      5 MANDIR ?= $(PREFIX)/share/man
      6 
      7 .PHONY: all
      8 all: fixfiles
      9 
     10 install: all
     11 	-mkdir -p $(DESTDIR)$(SBINDIR)
     12 	install -m 755 fixfiles $(DESTDIR)$(SBINDIR)
     13 	-mkdir -p $(DESTDIR)$(MANDIR)/man8
     14 	install -m 644 fixfiles.8 $(DESTDIR)$(MANDIR)/man8/
     15 	for lang in $(LINGUAS) ; do \
     16 		if [ -e $${lang} ] ; then \
     17 			mkdir -p $(DESTDIR)$(MANDIR)/$${lang}/man8 ; \
     18 			install -m 644 $${lang}/*.8 $(DESTDIR)$(MANDIR)/$${lang}/man8/ ; \
     19 		fi ; \
     20 	done
     21 
     22 clean:
     23 
     24 indent:
     25 
     26 relabel:
     27