source: trunk/lib/Makefile.am @ 696

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

fixes #348

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
RevLine 
[84]1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 696 2008-11-17 15:44:46Z peter $
4
[91]5# Copyright (C) 2005 Jari Häkkinen
6# Copyright (C) 2006 Jari Häkkinen, Peter Johansson
[667]7# Copyright (C) 2007 Peter Johansson
8# Copyright (C) 2008 Jari Häkkinen, Peter Johansson
[2]9#
[687]10# This file is part of svndigest, http://dev.thep.lu.se/svndigest
[84]11#
[149]12# svndigest is free software; you can redistribute it and/or modify it
[84]13# under the terms of the GNU General Public License as published by
[693]14# the Free Software Foundation; either version 3 of the License, or
[84]15# (at your option) any later version.
16#
[149]17# svndigest is distributed in the hope that it will be useful, but
[84]18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
[693]23# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
[7]24
[640]25AM_CPPFLAGS = $(SVNDIGEST_CPPFLAGS)
26AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS)
27
[668]28noinst_LIBRARIES = libsvndigest.a
[81]29
[543]30noinst_HEADERS = AddStats.h Alias.h BlameStats.h ClassicStats.h ColumnStream.h \
[487]31  Commitment.h Configuration.h css.h\
[465]32  Date.h Directory.h File.h first_page.h Functor.h Gnuplot.h GnuplotFE.h \
[606]33  HtmlBuf.h HtmlStream.h html_utility.h LineTypeParser.h \
[642]34  Node.h Option.h rmdirhier.h \
[569]35  Stats.h StatsCollection.h subversion_info.h SVN.h SVNblame.h  \
[286]36  SVNinfo.h SVNlog.h SVNproperty.h Trac.h utility.h
[81]37
[668]38libsvndigest_a_SOURCES = AddStats.cc Alias.cc BlameStats.cc \
[531]39  ClassicStats.cc ColumnStream.cc \
[303]40  Commitment.cc Configuration.cc \
[285]41  css.cc Date.cc Directory.cc File.cc first_page.cc\
[606]42  Functor.cc Gnuplot.cc GnuplotFE.cc  HtmlBuf.cc HtmlStream.cc \
[642]43  html_utility.cc LineTypeParser.cc Node.cc \
[668]44  rmdirhier.cc Stats.cc StatsCollection.cc subversion_info.cc SVN.cc \
[286]45  SVNblame.cc SVNinfo.cc SVNlog.cc SVNproperty.cc Trac.cc utility.cc
[91]46
[540]47
48
[569]49
[139]50clean-local:
[543]51  rm -rf *~
[540]52
53all-local:
54
55if HAVE_SVN_WC
[696]56$(srcdir)/subversion_info.cc: subversion_info.cc.tmp
57  @$(SHELL) $(top_srcdir)/build_support/move-if-change subversion_info.cc.tmp \
58  $(srcdir)/subversion_info.cc
[540]59
[569]60subversion_info.cc.tmp: FORCE
61  @echo '// subversion_info.cc generated from subversion_info.cc.in.' > $@ ;\
[540]62  revision=`$(SVNVERSION) $(top_srcdir)` ;\
[562]63  year=`svn info $(top_srcdir)|$(SED) -n  's/.*Date: \(.*\)-..-.*/\1/p'`;\
64  $(SED) -e 's/sub_2_svn_revision/'$$revision'/g' \
[696]65  -e 's/sub_2_svn_year/'$$year'/g' $(srcdir)/subversion_info.cc.in >> $@ ;
[540]66endif
67
68FORCE:
Note: See TracBrowser for help on using the repository browser.