source: trunk/bin/Makefile.am @ 892

Last change on this file since 892 was 888, checked in by Peter Johansson, 14 years ago

fixes #374

The problem was in the map year2rev that maps from a year to the last
revision of that year. We got that information from an SVNlog(ROOT)
object. When ROOT was yat/yat the problem (we've seen before)
occured. The problem is that if we follow the log of yat/yat we
realize it was created in 2005, so the map wouldn't cover for year
2004 and 2003. And there are many files, for example
yat/yat/Makefile.am, that were created in 2003 and 2004.

I could see two obvious solutions to the problem. Either call get the
log from repos_root_url or call NODE::log. The latter gives the union
of the logs of nodes in the directory (and below), which should be
sufficient. That, however, also implies that a log call is needed for
every file, which makes this slow in particular since ROOT often is
quite high the files structure. I therefore went with a log call to
repos_root_url, which is fast since it only involves one call to svn
server.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 888 2009-11-25 04:03:59Z peter $
4
5# Copyright (C) 2005 Jari Häkkinen
6# Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
7# Copyright (C) 2009 Peter Johansson
8#
9# This file is part of svndigest, http://dev.thep.lu.se/svndigest
10#
11# svndigest is free software; you can redistribute it and/or modify it
12# under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 3 of the License, or
14# (at your option) any later version.
15#
16# svndigest is distributed in the hope that it will be useful, but
17# WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19# General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
23
24bin_PROGRAMS = svndigest
25
26svndigest_SOURCES = Parameter.cc svndigest.cc
27
28noinst_HEADERS = Parameter.h
29
30LDADD = $(top_builddir)/lib/libsvndigest.a \
31  $(top_builddir)/lib/yat/libyat.a $(SVN_LIBS) $(APR_LIBS) $(PLPLOT_LIBS)
32AM_LDFLAGS = $(APR_LDFLAGS) $(SVN_LDFLAGS) $(PLPLOT_LDFLAGS)
33
34AM_CPPFLAGS  = -I$(top_srcdir)/lib $(DEFAULT_CPPFLAGS) \
35  $(APR_CPPFLAGS) $(SVN_CPPFLAGS)
36AM_CXXFLAGS = $(DEFAULT_CXXFLAGS)
37
38clean-local:
39  rm -rf *~
Note: See TracBrowser for help on using the repository browser.