Changeset 909
- Timestamp:
- Nov 29, 2009, 11:43:01 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.am
r874 r909 27 27 SUBDIRS = lib bin man test 28 28 29 EXTRA_dist = build_support/move-if-change 29 EXTRA_dist = build_support/move-if-change .release_year 30 MOVE_IF_CHANGE = $(SHELL) $(top_srcdir)/build_support/move-if-change 30 31 31 32 clean-local: 32 33 rm -rf svndigest *~ 34 35 .PHONY: .release_year.tmp 36 if HAVE_SVN_WC 37 # update copyright year automatically (if we build from svn wc) 38 $(srcdir)/.release_year: .release_year.tmp 39 @$(MOVE_IF_CHANGE) $@.tmp $@ 40 41 .release_year.tmp: 42 @if ($(SVNVERSION) $(top_srcdir) | $(GREP) M > /dev/null); then \ 43 date -u "+%Y" > .release_year.tmp; \ 44 else \ 45 cp $(srcdir)/.release_year $@; \ 46 fi 47 endif 48 33 49 34 50 # This is a workaround to avoid a broken make when .m4 files are -
trunk/bin/svndigest-copy-cache.as
r907 r909 4 4 # $Id$ 5 5 6 # Copyright (C) 2009Peter Johansson6 # Copyright (C) @RELEASE_YEAR@ Peter Johansson 7 7 8 8 # This file is part of svndigest, http://dev.thep.lu.se/svndigest -
trunk/configure.ac
r907 r909 45 45 [Define to home page for this package]) 46 46 AC_SUBST([PACKAGE_URL], ["http://dev.thep.lu.se/svndigest"])]) 47 48 # propagate RELEASE_YEAR from file .release_year 49 RELEASE_YEAR=`cat $srcdir/.release_year` 50 AC_SUBST([RELEASE_YEAR]) 51 AC_DEFINE_UNQUOTED([RELEASE_YEAR], ["$RELEASE_YEAR"], 52 [Define year package was last modified]) 53 AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/.release_year']) 47 54 48 55 AC_SUBST([SVNDIGEST_MAJOR_VERSION], [MAJOR_VERSION]) -
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.