Re: update-copyright local hook

2009-08-18 Thread Jim Meyering
Joel E. Denny wrote: > Hi Eric and Jim. > > On Sat, 15 Aug 2009, Eric Blake wrote: > >> According to Jim Meyering on 8/15/2009 2:37 AM: >> >> It changed a bit due to the merge; here's what I'm pushing. >> >> I haven't pushed yet, in case we decide something different... >> >> > ... >> >> grep -l

Re: update-copyright local hook

2009-08-17 Thread Joel E. Denny
Hi Eric and Jim. On Sat, 15 Aug 2009, Eric Blake wrote: > According to Jim Meyering on 8/15/2009 2:37 AM: > >> It changed a bit due to the merge; here's what I'm pushing. > > I haven't pushed yet, in case we decide something different... > > > ... > >>grep -l -w Copyright $$($(VC_LIST_EXCEP

Re: update-copyright local hook

2009-08-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 8/15/2009 6:46 AM: > Obviously not worth duplicating code. > I was thinking about projects with active ChangeLog files in > subdirectories, e.g. gcc, emacs, glibc (not rotated ones). They can provide an empty .x-update-cop

Re: update-copyright local hook

2009-08-15 Thread Jim Meyering
Eric Blake wrote: > According to Jim Meyering on 8/15/2009 2:37 AM: >>> It changed a bit due to the merge; here's what I'm pushing. > > I haven't pushed yet, in case we decide something different... > >> ... >>> grep -l -w Copyright $$($(VC_LIST_EXCEPT)) \ >>> - | grep -v -E '

Re: update-copyright local hook

2009-08-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 8/15/2009 2:37 AM: >> It changed a bit due to the merge; here's what I'm pushing. I haven't pushed yet, in case we decide something different... > ... >> grep -l -w Copyright $$($(VC_LIST_EXCEPT)) \ >> -

Re: update-copyright local hook

2009-08-15 Thread Jim Meyering
Eric Blake wrote: > According to Jim Meyering on 8/14/2009 1:11 PM: >>> Hmm. VC_LIST_EXCEPT excludes ChangeLog by default, but this is one case >>> where >>> we WANT ChangeLog's copyright updated along with everything else. Also, I >>> think we should be exempting all forms of COPYING (such as C

Re: update-copyright local hook

2009-08-14 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 8/14/2009 1:11 PM: >> Hmm. VC_LIST_EXCEPT excludes ChangeLog by default, but this is one case >> where >> we WANT ChangeLog's copyright updated along with everything else. Also, I >> think we should be exempting all form

Re: update-copyright local hook

2009-08-14 Thread Jim Meyering
Eric Blake wrote: > Jim Meyering meyering.net> writes: >> +# If you have an additional project-specific rule, >> +# define it in cfg.mk and set this variable to its name. >> +update-copyright-local ?= >> + >> .PHONY: update-copyright >> -update-copyright: >> +update-copyright: $(update-copyright-

Re: update-copyright local hook

2009-08-14 Thread Eric Blake
Jim Meyering meyering.net> writes: > > +# If you have an additional project-specific rule, > +# define it in cfg.mk and set this variable to its name. > +update-copyright-local ?= > + > .PHONY: update-copyright > -update-copyright: > +update-copyright: $(update-copyright-local) I'm wondering i

Re: update-copyright local hook

2009-08-06 Thread Jim Meyering
Joel E. Denny wrote: ... > That works for me. Thanks, and thanks for reviewing and pushing all my > other patches. > > I'm not sure where ties between modules and maint.mk should be documented, > but the stale advice in update-copyright ought to updated. Here's a > patch. Good idea. Pushed.

Re: update-copyright local hook

2009-08-06 Thread Joel E. Denny
On Thu, 6 Aug 2009, Jim Meyering wrote: > Heh. Let's write my bogus suggestion off to morning caffeine deficiency. :) > How about this instead? > > >From 0ec4fb7d6c2533eb4bb588f64616dd9c6883bcb4 Mon Sep 17 00:00:00 2001 > From: Jim Meyering > Date: Thu, 6 Aug 2009 09:25:05 +0200 > Subject: [P

Re: update-copyright local hook

2009-08-06 Thread Jim Meyering
Joel E. Denny wrote: > On Thu, 6 Aug 2009, Jim Meyering wrote: > >> Joel E. Denny wrote: >> > For Bison, update-copyright is not enough. Our backend skeletons contain >> > m4 macro invocations with lists of copyright years as arguments. I've a >> > written a script and a makefile target to handl

Re: update-copyright local hook

2009-08-06 Thread Joel E. Denny
On Thu, 6 Aug 2009, Jim Meyering wrote: > Joel E. Denny wrote: > > For Bison, update-copyright is not enough. Our backend skeletons contain > > m4 macro invocations with lists of copyright years as arguments. I've a > > written a script and a makefile target to handle these, but I would like > >

Re: update-copyright local hook

2009-08-05 Thread Jim Meyering
Joel E. Denny wrote: > For Bison, update-copyright is not enough. Our backend skeletons contain > m4 macro invocations with lists of copyright years as arguments. I've a > written a script and a makefile target to handle these, but I would like > it to be called by maint.mk's update-copyright tar

update-copyright local hook

2009-08-05 Thread Joel E. Denny
For Bison, update-copyright is not enough. Our backend skeletons contain m4 macro invocations with lists of copyright years as arguments. I've a written a script and a makefile target to handle these, but I would like it to be called by maint.mk's update-copyright target rule so we don't forg