[Top][All Lists]

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

Re: Making scripts

From: Tom Tromey
Subject: Re: Making scripts
Date: 29 Mar 2002 10:21:11 -0700

>>>>> "Eric" == Eric Siegerman <address@hidden> writes:

Eric>   bin_PROGRAMS = myscript

_PROGRAMS is only used for compiled programs.
Use _SCRIPTS instead.

Eric> Then I tried changing PROGRAMS to SCRIPTS:
Eric>   bin_SCRIPTS = myscript
Eric> but then automake complained of:
Eric>   invalid unused variable name: `myscript_SOURCES'

Yes.  Delete myscript_SOURCES.  _SOURCES is only used for compiled
programs; it is invalid for other things.

Eric> Automake must not expect SCRIPTS to need any sort of building;
Eric> it must assume they can just be copied verbatim from $(srcdir)
Eric> at install time.

Nope.  Automake assumes that if _SCRIPTS are targets the
will have a rule for them.  (Which yours does.)


reply via email to

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