1 # Installation directories. 2 PREFIX ?= $(DESTDIR)/usr 3 BINDIR ?= $(PREFIX)/bin 4 MANDIR ?= $(PREFIX)/share/man 5 LOCALEDIR ?= $(PREFIX)/share/locale 6 7 .PHONY: all 8 all: chcat 9 10 install: all 11 -mkdir -p $(BINDIR) 12 install -m 755 chcat $(BINDIR) 13 -mkdir -p $(MANDIR)/man8 14 install -m 644 chcat.8 $(MANDIR)/man8/ 15 16 clean: 17 18 indent: 19 20 relabel: 21