From 75b3f4bea7864367f96ee01ab6d48928fecf5706 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Mon, 23 Jul 2018 12:15:59 +0200 Subject: [PATCH] Use install instead of cp --- charhist/GNUmakerules.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charhist/GNUmakerules.pl b/charhist/GNUmakerules.pl index 8f30daa..15db030 100644 --- a/charhist/GNUmakerules.pl +++ b/charhist/GNUmakerules.pl @@ -3,6 +3,6 @@ use warnings; use strict; print "\$(BINDIR)/%: %\n"; -print "\tcp \$^ \$@\n"; +print "\tinstall -m 755 \$^ \$@\n"; print "\$(MAN1DIR)/%: %\n"; -print "\tcp \$^ \$@\n"; +print "\tinstall -m 644 \$^ \$@\n";