Changeset 746


Ignore:
Timestamp:
Jan 8, 2009, 11:52:59 PM (12 years ago)
Author:
Peter Johansson
Message:

fixed rule for how copyright_year.cc is updated

Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Makefile.am

    r733 r746  
    77# Copyright (C) 2007 Peter Johansson
    88# Copyright (C) 2008 Jari Häkkinen, Peter Johansson
     9# Copyright (C) 2009 Peter Johansson
    910#
    1011# This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    7374copyright_year.cc.tmp: FORCE
    7475  @year=`svn info $(top_srcdir)|$(SED) -n  's/.*Date: \(.*\)-..-.*/\1/p'`;\
    75   $(SED) -e 's/20[0-9][0-9]/'$$year'/g' $(srcdir)/copyright_year.cc > $@ ;
     76  $(SED) -e 's/"20[0-9][0-9]"/'\"$$year\"'/g' $(srcdir)/copyright_year.cc > $@ ;
    7677
    7778else
  • trunk/lib/copyright_year.cc

    r745 r746  
    22
    33/*
    4   Copyright (C) 2009 Peter Johansson
     4  Copyright (C) 2008, 2009 Peter Johansson
    55
    66  This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    2828  std::string svn_year(void)
    2929  {
    30     return "2009";
     30    return "2008";
    3131  }
    3232
Note: See TracChangeset for help on using the changeset viewer.