ref: 3ab0889db514b8eeb3e675429c9562615211b53e
parent: 5f5d088f3b4df982a67164526043394648987c68
author: Jacob Moody <[email protected]>
date: Thu Jul 20 11:35:19 EDT 2023
use install instead of cp in makefile
--- a/Makefile
+++ b/Makefile
@@ -53,8 +53,8 @@
.PHONY: tlsclient.install
tlsclient.install: tlsclient tlsclient.1
- cp tlsclient $(PREFIX)/bin
- cp tlsclient.1 $(PREFIX)/share/man/man1/
+ install -Dm755 -t $(PREFIX)/bin tlsclient
+ install -Dm644 -T tlsclient.1 $(PREFIX)/share/man/man1/tlsclient.1
.PHONY: tlsclient.obsd.install
tlsclient.obsd.install: tlsclient.obsd login_-dp9ik tlsclient.1 login_-dp9ik.8