source: trunk/lib/Makefile.am @ 569

Last change on this file since 569 was 569, checked in by Peter Johansson, 13 years ago

NOTE: may cause file name clash. Adding file
subversion_info.h'. Previously make' generated this file, and thus
you may experience a file name clash. Please remove subversion_info.h
prior updating.

Moved implementation of subversion_info to source file in order to
avoid re-compilations not needed. Using script move-if-change to
create source file.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 569 2008-03-13 21:55:15Z peter $
4
5# Copyright (C) 2005 Jari Häkkinen
6# Copyright (C) 2006 Jari Häkkinen, Peter Johansson
7# Copyright (C) 2007 2008 Peter Johansson
8#
9# This file is part of svndigest, http://trac.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 2 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 this program; if not, write to the Free Software
23# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
24# 02111-1307, USA.
25
26noinst_LTLIBRARIES = libsvndigest.la
27
28noinst_HEADERS = AddStats.h Alias.h BlameStats.h ClassicStats.h ColumnStream.h \
29  Commitment.h Configuration.h css.h\
30  Date.h Directory.h File.h first_page.h Functor.h Gnuplot.h GnuplotFE.h \
31  HtmlStream.h html_utility.h LineTypeParser.h \
32  LogIterator.h Node.h rmdirhier.h \
33  Stats.h StatsCollection.h subversion_info.h SVN.h SVNblame.h  \
34  SVNinfo.h SVNlog.h SVNproperty.h Trac.h utility.h
35
36libsvndigest_la_SOURCES = AddStats.cc Alias.cc BlameStats.cc \
37  ClassicStats.cc ColumnStream.cc \
38  Commitment.cc Configuration.cc \
39  css.cc Date.cc Directory.cc File.cc first_page.cc\
40  Functor.cc Gnuplot.cc GnuplotFE.cc  HtmlStream.cc \
41  html_utility.cc LineTypeParser.cc LogIterator.cc Node.cc \
42  rmdirhier.cc Stats.cc StatsCollection.cc subversion_info.cc SVN.cc        \
43  SVNblame.cc SVNinfo.cc SVNlog.cc SVNproperty.cc Trac.cc utility.cc
44
45
46
47
48clean-local:
49  rm -rf *~
50
51all-local:
52
53if HAVE_SVN_WC
54subversion_info.cc: subversion_info.cc.tmp
55  @$(SHELL) @top_srcdir@/build_support/move-if-change subversion_info.cc.tmp \
56  subversion_info.cc
57
58subversion_info.cc.tmp: FORCE
59  @echo '// subversion_info.cc generated from subversion_info.cc.in.' > $@ ;\
60  revision=`$(SVNVERSION) $(top_srcdir)` ;\
61  year=`svn info $(top_srcdir)|$(SED) -n  's/.*Date: \(.*\)-..-.*/\1/p'`;\
62  $(SED) -e 's/sub_2_svn_revision/'$$revision'/g' \
63  -e 's/sub_2_svn_year/'$$year'/g'  subversion_info.cc.in >> $@ ;
64endif
65
66FORCE:
Note: See TracBrowser for help on using the repository browser.