Hello,
On Thu, Jul 13, 2006 at 01:17:37PM -0700, Micah J. Cowan wrote:
> it in bin_PROGRAMS is wrong: it assumes it should build it from [*.c]
yes, you should use bin_SCRIPTS for scripts; ``programs'' are assumed
to be compiled.
> 1) What is an appropriate setup when the primary "binary" file is generated
> from the configure script?
bin_SCRIPTS = checkmk
CLEANFILES = $(bin_SCRIPTS)
No rule is needed, Automake generates one.
> 2) What is an appropriate setup when the primary "binary" program file
> is ready-to-go already (say, a shell script or somesuch)?
dist_bin_SCRIPTS = checkmk
(*_SCRIPTS are not distributed by default)
That should do it; without any more workarounds. If there are
problems, report them here.
Have a nice day,
Stepan Kasal