Home | History | Annotate | Download | only in scripts
      1 # Installation directories.
      2 PREFIX ?= $(DESTDIR)/usr
      3 BINDIR ?= $(PREFIX)/bin
      4 USRSBINDIR ?= $(PREFIX)/sbin
      5 SBINDIR ?= $(DESTDIR)/sbin
      6 MANDIR ?= $(PREFIX)/share/man
      7 LOCALEDIR ?= $(PREFIX)/share/locale
      8 
      9 .PHONY: all genhomedircon
     10 all: fixfiles genhomedircon chcat
     11 
     12 install: all
     13 	-mkdir -p $(BINDIR)
     14 	install -m 755 chcat $(BINDIR)
     15 	install -m 755 fixfiles $(SBINDIR)
     16 	-mkdir -p $(MANDIR)/man8
     17 	install -m 644 fixfiles.8 $(MANDIR)/man8/
     18 	install -m 644 chcat.8 $(MANDIR)/man8/
     19 
     20 clean:
     21 	rm -f genhomedircon
     22 
     23 indent:
     24 
     25 relabel:
     26