From 7073e7df87546a1e0a07c42713f3c8a6a51f28f4 Mon Sep 17 00:00:00 2001 From: Earnestly Date: Wed, 6 Feb 2019 18:54:07 +0000 Subject: [PATCH] make: remove non-posix features For better or worse. --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 4b47c55..a20ae25 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ -PREFIX ?= /usr/local -bindir ?= /bin -mandir ?= /share/man +PREFIX = /usr/local +bindir = /bin +mandir = /share/man install: sx sx.1 - install -Dm0755 sx $(DESTDIR)$(PREFIX)$(bindir)/sx - install -Dm0644 sx.1 $(DESTDIR)$(PREFIX)$(mandir)/man1/sx.1 - -.PHONY: install + mkdir -p $(DESTDIR)$(PREFIX)$(bindir) + mkdir -p $(DESTDIR)$(PREFIX)$(mandir)/man1 + cp -f sx $(DESTDIR)$(PREFIX)$(bindir) + cp -f sx.1 $(DESTDIR)$(PREFIX)$(mandir)/man1