From 40acbdaf96a3bd2ed58c9e73fc95b57b38363484 Mon Sep 17 00:00:00 2001 From: "Y. T. Chung" Date: Thu, 12 Oct 2017 09:26:07 +0800 Subject: [PATCH] Compatible with BSD install --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fa606c48..e2b3993c 100644 --- a/Makefile +++ b/Makefile @@ -12,9 +12,10 @@ else endif install: - install -Dm 755 target/${TARGET}/sslocal ${DESTDIR}${PREFIX}/sslocal - install -Dm 755 target/${TARGET}/ssserver ${DESTDIR}${PREFIX}/ssserver - install -Dm 755 target/${TARGET}/ssurl ${DESTDIR}${PREFIX}/ssurl + install -d ${DESTDIR}${PREFIX} + install -m 755 target/${TARGET}/sslocal ${DESTDIR}${PREFIX}/sslocal + install -m 755 target/${TARGET}/ssserver ${DESTDIR}${PREFIX}/ssserver + install -m 755 target/${TARGET}/ssurl ${DESTDIR}${PREFIX}/ssurl uninstall: rm ${DESTDIR}${PREFIX}/sslocal