[Top][All Lists]

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

Re: binary distribution build with automake

From: William Pursell
Subject: Re: binary distribution build with automake
Date: Sun, 10 May 2009 08:09:23 +0100
User-agent: Thunderbird (Macintosh/20090302)

Ralf Wildenhues wrote:

> * Andreas Otto wrote on Fri, May 08, 2009 at 01:28:16PM CEST:
>>   I missing one target in automake to create a binary distribution
> You can just write one in your, as a plain 'make' rule.
> For reusability, you can also put it in a fragment file and include it
> in your

I have a "best practice" question about this.  For awhile,
I've had generic targets that I like to include in all of
my projects, but rather than including the fragment in
each, I use the following hack^h^h^h^htechnique: invokes my initialization macro (which I
install on my dev box in /usr/local/share/aclocal rather
than putting in a subdir of each project), this creates
the make rule file snippets in a new subdir of the builddir
at configure time and AC_SUBST_FILES them so that the
can contain:


This mostly works, but there are a few cases where I need to
have the generated snippet file be just the rule, so I can do
things like:


The question is: is that a reliable technique, or is it a
ridiculous hack that will someday come to haunt me?

William Pursell

reply via email to

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