automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dealing with executable shell scripts


From: Andrew W. Nosenko
Subject: Re: dealing with executable shell scripts
Date: Tue, 20 Mar 2012 16:54:21 +0200

On Tue, Mar 20, 2012 at 03:18, Miles Bader <address@hidden> wrote:
> Harlan Stenn <address@hidden> writes:
>> What's the problem with bin_SCRIPTS?
>
> Hmm, I didn't know about it, but ... reading the documentation,
> "bin_SCRIPTS" doesn't actually seem to do much of anything -- you
> still have to add your own rules to handle all the actual work, need
> to fiddle with EXTRA_DIST and CLEANFILES, etc.  Indeed, doing what I
> did (putting the script in bin_PROGRAMS and adding a rule to build it)
> actually seems _easier_, as automake will do more automatically, and
> there's less to keep track of for the programmer....
>

Placing shell script under *_PROGRAMS variable may break 'install-strip' target.
Just because strip(1) (or 'install -s', if more preciously) don't know
how to strip them.

-- 
Andrew W. Nosenko <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]