- Timestamp:
- Nov 29, 2009, 11:43:01 PM (14 years ago)
- Location:
- trunk/lib
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Makefile.am
r898 r909 33 33 34 34 noinst_HEADERS = AddStats.h Alias.h BlameStats.h ClassicStats.h \ 35 Commitment.h Configuration.h c opyright_year.h css.h\35 Commitment.h Configuration.h css.h \ 36 36 Date.h Directory.h File.h first_page.h Functor.h \ 37 37 Graph.h \ … … 44 44 libsvndigest_a_SOURCES = AddStats.cc Alias.cc BlameStats.cc \ 45 45 ClassicStats.cc \ 46 Commitment.cc Configuration.cc copyright_year.cc\46 Commitment.cc Configuration.cc \ 47 47 css.cc Date.cc Directory.cc File.cc first_page.cc\ 48 48 Functor.cc Graph.cc HtmlBuf.cc HtmlStream.cc \ … … 70 70 $(srcdir)/subversion_info.cc.in >> $@ ; 71 71 72 # update copyright year automatically (if we build from svn wc)73 $(srcdir)/copyright_year.cc: copyright_year.cc.tmp74 @$(MOVE_IF_CHANGE) copyright_year.cc.tmp $@75 76 copyright_year.cc.tmp: FORCE77 @if (echo $(SVN_REVISION) | $(GREP) M); then \78 $(SED) -e 's/"20[0-9][0-9]"/'\"`date -u "+%Y"`\"'/g' \79 $(srcdir)/copyright_year.cc > $@ ; \80 else \81 cp $(srcdir)/copyright_year.cc $@; \82 fi83 84 72 else 85 73 # this is needed in 'svn export' build -
trunk/lib/OptionVersion.cc
r902 r909 22 22 #include <config.h> 23 23 24 #include "copyright_year.h"25 24 #include "OptionVersion.h" 26 25 #include "subversion_info.h" … … 65 64 << ")"; 66 65 } 67 cs << "\n\nCopyright (C) " << svn_year()66 cs << "\n\nCopyright (C) " << RELEASE_YEAR 68 67 << " Jari H\u00E4kkinen and Peter Johansson.\n" 69 68 << "This is free software. You may redistribute copies of it under "
Note: See TracChangeset
for help on using the changeset viewer.