Re: [PATCH] maint.mk: don't maintain a second build-aux variable.

2011-10-28 Thread Jim Meyering
Gary V. Vaughan wrote: > Hi Jim, ... >>> -# Override this in cfg.mk if you use a non-standard build-aux directory. >>> -build_aux ?= $(srcdir)/build-aux >>> +ifneq ($(build_aux),) >>> + $(error '*** set $$(_build-aux) relative to $$(srcdir) instead of >>> $$(build_aux)') >> >> That line is longer t

Re: [PATCH] maint.mk: don't maintain a second build-aux variable.

2011-10-27 Thread Gary V. Vaughan
Hi Jim, On 27 Oct 2011, at 22:02, Jim Meyering wrote: > Gary V. Vaughan wrote: >> On 25 Oct 2011, at 15:18, Gary V. Vaughan wrote: >>> On 25 Oct 2011, at 15:05, Jim Meyering wrote: Actually, I think we can both get what we want. I suggest to adjust your patch so that make is guaranteed t

Re: [PATCH] maint.mk: don't maintain a second build-aux variable.

2011-10-27 Thread Jim Meyering
Gary V. Vaughan wrote: > Hi Jim, > > On 25 Oct 2011, at 15:18, Gary V. Vaughan wrote: >> On 25 Oct 2011, at 15:05, Jim Meyering wrote: >>> Actually, I think we can both get what we want. >>> I suggest to adjust your patch so that make is guaranteed to fail >>> with a nice diagnostic for anyone who

Re: [PATCH] maint.mk: don't maintain a second build-aux variable.

2011-10-26 Thread Gary V. Vaughan
Hi Jim, On 25 Oct 2011, at 15:18, Gary V. Vaughan wrote: > On 25 Oct 2011, at 15:05, Jim Meyering wrote: >> Actually, I think we can both get what we want. >> I suggest to adjust your patch so that make is guaranteed to fail >> with a nice diagnostic for anyone who defines build_aux in cfg.mk. >

Re: [PATCH] maint.mk: don't maintain a second build-aux variable.

2011-10-25 Thread Gary V. Vaughan
Hi Jim, Looks like our messages crossed, please disregard my last reply. On 25 Oct 2011, at 15:05, Jim Meyering wrote: > [please configure your mail client to stop including both plain > and html versions of each message] If you know of an option to do that on the iPad with iOS5 mobile mail I'll

Re: [PATCH] maint.mk: don't maintain a second build-aux variable.

2011-10-25 Thread Gary V. Vaughan
Hi Jim, On 25 Oct 2011, at 00:37, Jim Meyering wrote: > Gary V. Vaughan wrote: >> >> _build-aux = libltdl/build-aux > > Wouldn't that break things for those who customize build_aux? Ah, I see what you mean now (will it break for clients who are customizing with build_aux already). No, I don't

Re: [PATCH] maint.mk: don't maintain a second build-aux variable.

2011-10-25 Thread Jim Meyering
[please configure your mail client to stop including both plain and html versions of each message] Gary V. Vaughan wrote: > To what advantage over factoring out the duplication entirely at the > source of the problem with the patch I submitted? Not breaking some project's existing set-up when th

Re: [PATCH] maint.mk: don't maintain a second build-aux variable.

2011-10-24 Thread Gary V. Vaughan
Hi Jim, On 25 Oct 2011, at 00:37, Jim Meyering wrote: > Gary V. Vaughan wrote: >> I was wondering why 'make stable' would always use a stale version unless >> I manually updated my .version file first. It turns out that if you use >> a non-standard build-aux location, you have to tell GNUmakefil

Re: [PATCH] maint.mk: don't maintain a second build-aux variable.

2011-10-24 Thread Jim Meyering
Gary V. Vaughan wrote: > I was wondering why 'make stable' would always use a stale version unless > I manually updated my .version file first. It turns out that if you use > a non-standard build-aux location, you have to tell GNUmakefile by setting > _build-aux to get the .version dist-hook machi

[PATCH] maint.mk: don't maintain a second build-aux variable.

2011-10-23 Thread Gary V. Vaughan
Hi all, I was wondering why 'make stable' would always use a stale version unless I manually updated my .version file first. It turns out that if you use a non-standard build-aux location, you have to tell GNUmakefile by setting _build-aux to get the .version dist-hook machinery, and that you als