Ignore:
Timestamp:
Nov 29, 2009, 11:43:01 PM (12 years ago)
Author:
Peter Johansson
Message:

Set the copyright year automatically in svndigest-copy-cache. The year
is stored in a file .release_year and AC_DEFINEd and AC_SUBSTed, so it
can be used in both svndigest-copy-cache and svndigest (via
config.h). No need files lib/copyright_year anymore. The file
.release_year is updated same fashion as copyright_year.cc was
previously. A difference is that a change in .release will cause
configure to be rerun, which is expensive but I think we can live with
the cost since it only happens once a year.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OptionVersion.cc

    r902 r909  
    2222#include <config.h>
    2323
    24 #include "copyright_year.h"
    2524#include "OptionVersion.h"
    2625#include "subversion_info.h"
     
    6564         << ")";
    6665    }
    67     cs << "\n\nCopyright (C) " << svn_year()
     66    cs << "\n\nCopyright (C) " << RELEASE_YEAR
    6867       << " Jari H\u00E4kkinen and Peter Johansson.\n"
    6968       << "This is free software. You may redistribute copies of it under "
Note: See TracChangeset for help on using the changeset viewer.