Joel N. Weber II nemo at koa.iolani.honolulu.hi.us
Tue Mar 11 17:05:08 PST 1997

On Tue, 11 Mar 1997, Mark Huizer wrote:

> > > Hmm... why is INSTALL_PROGRAM used to install scripts???
> > > This should read INSTALL, not???
> > 
> > The way it is now is correct.
> It isn't!

Why do you say that?

> > You usually want different options when installing a program than you 
> > want installing data.  So there's also INSTALL_DATA
> > 
> > You'd never want to give the strip option when installing a data file.
> > 
> > In reality, though, the current system is a little broken because you 
> > can't strip executable shell scripts either...
> Cool, see? So install it as data, or whatever does not use -s, or create
> INSTALL_SCRIPT, but now it does not work

Actually, autoconf defines INSTALL, INSTALL_PROGRAM, and INSTALL_DATA.  
automake adds INSTALL_SCRIPT, but by default INSTALL_SCRIPT is the same 

INSTALL_DATA generally doesn't set the executable bits, so it won't work 
for a script.

More information about the kaffe mailing list