[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Main prog is configure-generated?
From: |
Stepan Kasal |
Subject: |
Re: Main prog is configure-generated? |
Date: |
Fri, 14 Jul 2006 12:02:24 +0200 |
User-agent: |
Mutt/1.4.2.1i |
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