On Tue, Mar 3, 2009 at 5:46 PM, Ralf Wildenhues wrote:
> For cleanup, you can add a convention that no snippet overwrite the
> documented -local/-hook targets, but only add prerequisites to them.
> That won't help you in all cases, but most of them.
>
> distclean-local: distclean-local-doxygen
>
* Allan Caffee wrote on Tue, Mar 03, 2009 at 07:00:47PM CET:
> am/doxygen.am:
> distclean-am-hook:
> -rm -rf Doxyfile doc/html
> # ...
>
> am/dist_rpm.am:
> distclean-am-hook:
> -rm -f template.spec
> # ...
>
> Makefile.am:
> include $(top_srcdir)/am/doxygen.am
> inc
On Sat, 28 Feb 2009, Ralf Wildenhues wrote:
> * Allan Caffee wrote on Thu, Feb 26, 2009 at 02:49:16PM CET:
> > That is certainly one possibility. Unfortunately though that means that
> > in the Makefile.am files you _must_ use += since Automake will error out
> > if you assign more than one value
On Saturday 2009-02-28 11:16, Ralf Wildenhues wrote:
>> Modern Automake does support appending. But only appending to a
>> variable that has already been set.
>
>Yes. This is done primarily to be able to diagnose typos, e.g.,
> foolish =
> foo1ish += bar
>[...]
>Is it worth the hassle? It's c
Hello,
* Allan Caffee wrote on Thu, Feb 26, 2009 at 02:49:16PM CET:
> That is certainly one possibility. Unfortunately though that means that
> in the Makefile.am files you _must_ use += since Automake will error out
> if you assign more than one value to a variable (within the same
> Automake co
On Thu, 26 Feb 2009, Jeroen N. Witmond [Bahco] wrote:
> I'm not an expert on automake, but perhaps you've chosen the wrong
> solution to your problem: maintainer-cleaning some additional files. I
> would have thought target maintainer-clean-local was invented for this
> purpose! :) (However, I have
Allan Caffee wrote:
> Thank you both for your speedy responses.
>
> On Wed, Feb 25, 2009 at 7:04 PM, Jan Engelhardt
> wrote:
>> In one project I use -- though not a "header + main makefile" but
>> a "main makefile + subordinates" layout --:
>>
>> # Makefile.am (http://tinyurl.com/dhxfwf)
>> bin_PR
Thank you both for your speedy responses.
On Wed, Feb 25, 2009 at 7:04 PM, Jan Engelhardt wrote:
> In one project I use -- though not a "header + main makefile" but
> a "main makefile + subordinates" layout --:
>
> # Makefile.am (http://tinyurl.com/dhxfwf)
> bin_PROGRAMS =
> include bar/Automakef
On Thursday 2009-02-26 00:44, Allan Caffee wrote:
>
>What is the cleanest to way to append something to a builtin variable
>(e.g. MAINTAINERCLEANFILES) from an Automake "header".[...]
>Is there a cleaner, ideally non-invasive method for
>adding things to these builtin lists?
In one project I use
What is the cleanest to way to append something to a builtin variable
(e.g. MAINTAINERCLEANFILES) from an Automake "header". For example I
want all of my Makefiles to delete the Makefile.in by the
maintainer-clean target. The way I currently do this is:
--- am/global.am ---
GLOBAL_MAINT
10 matches
Mail list logo