about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index eee398b..c24de67 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,8 @@ PREFIX=/usr/local
 BINDIR=$(PREFIX)/bin
 MANDIR=$(PREFIX)/share/man
 
+INSTALL=install
+
 all: $(ALL)
 
 clean: FRC
@@ -17,7 +19,7 @@ check: FRC all
 
 install: FRC all
 	mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
-	install -m0755 $(ALL) $(DESTDIR)$(BINDIR)
-	install -m0644 $(ALL:=.1) $(DESTDIR)$(MANDIR)/man1
+	$(INSTALL) -m0755 $(ALL) $(DESTDIR)$(BINDIR)
+	$(INSTALL) -m0644 $(ALL:=.1) $(DESTDIR)$(MANDIR)/man1
 
 FRC: