bug-bison
[Top][All Lists]
Advanced

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

Re: wrong copyright year in bison


From: Akim Demaille
Subject: Re: wrong copyright year in bison
Date: Sat, 12 Jan 2013 16:25:38 +0100

Le 11 janv. 2013 à 14:59, Stefano Lattarini <address@hidden> a écrit :

> $ grep  COPYRIGHT configure.ac
> AC_SUBST([PACKAGE_COPYRIGHT_YEAR], [2012])
> AC_DEFINE_UNQUOTED([PACKAGE_COPYRIGHT_YEAR], [$PACKAGE_COPYRIGHT_YEAR],
> 
> That should be 2013 by now, no?
> 
> FWIW, automake has a similar usage, and has fixed this issue by
> enhancing its "update-copyright" maintainer target to also update
> the COPYRIGHT_YEAR definition.

Hi Stefano,

Actually all that was needed was to run update-copyright :)
Well, not quite, first fix a couple of issues.  Pushed,
and then a "copyright-update" commit.

commit f6df83b4e80b2a53c08b5dc654e247076a3b9b03
Author: Akim Demaille <address@hidden>
Date:   Sat Jan 12 16:03:15 2013 +0100

    build: fix VPATH issue
    
    * Makefile.am (update-b4-copyright, update-package-copyright-year): Fix
    path to build-aux.

diff --git a/Makefile.am b/Makefile.am
index a986119..2472011 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -78,12 +78,11 @@ dist-hook: gen-ChangeLog
 
 .PHONY: update-b4-copyright update-package-copyright-year
 update-b4-copyright:
-       find data -type f                    \
-         | grep -v -E '^data/bison.m4$$'    \
-         | xargs $(build_aux)/$@
+       find $(srcdir)/data -type f          \
+         | xargs $(srcdir)/build-aux/$@
        @echo 'warning: src/parse-gram.[hc] may need to be regenerated.'
 update-package-copyright-year:
-       $(build_aux)/$@ configure.ac
+       $(srcdir)/build-aux/$@ $(srcdir)/configure.ac
 
 gen_start_date = 2012-01-16
 .PHONY: gen-ChangeLog




reply via email to

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