Re: [dev] why avoid install?

From: Silvan Jegen <s.jegen_AT_gmail.com>
Date: Wed, 19 Nov 2014 16:54:27 +0100

On Wed, Nov 19, 2014 at 4:41 PM, Anselm R Garbe <garbeam_AT_gmail.com> wrote:
> On 18 November 2014 19:25, Greg Reagle <greg.reagle_AT_umbc.edu> wrote:
>> Hello. Is there a particular reason that a combination of cp, mkdir,
>> and chmod are used rather than the install command, in several suckless
>> projects (in the install target of Makefile)?
>
> To me the answer is rather obvious. install violates the Unix
> principle, because it does too many things, that are achieved already
> by cp, mkdir, chmod, etc.

That was what I was thinking as well.

It would make sense just to put calls to these binaries into a
'install' shell script and leave it at that (implementing this in
shell may reveal that some of GNU install's functionality can not be
mimicked that way but I wouldn't care too much about that).
Received on Wed Nov 19 2014 - 16:54:27 CET

This archive was generated by hypermail 2.3.0 : Wed Nov 19 2014 - 17:00:17 CET