>>>>> "Eric" == Eric Siegerman <[EMAIL PROTECTED]> 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 Makefile.am
will have a rule for them.  (Which yours does.)

Tom

Reply via email to