selinux/python/chcat/Makefile
Marcus Folkesson 11aaf180ef python: build: follow standard semantics for DESTDIR and PREFIX
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
2018-02-14 20:02:01 +01:00

20 lines
321 B
Makefile

# Installation directories.
PREFIX ?= /usr
BINDIR ?= $(PREFIX)/bin
MANDIR ?= $(PREFIX)/share/man
.PHONY: all
all: chcat
install: all
-mkdir -p $(DESTDIR)$(BINDIR)
install -m 755 chcat $(DESTDIR)$(BINDIR)
-mkdir -p $(DESTDIR)$(MANDIR)/man8
install -m 644 chcat.8 $(DESTDIR)$(MANDIR)/man8/
clean:
indent:
relabel: