source: trunk/lib/Makefile.am @ 668

Last change on this file since 668 was 668, checked in by Jari Häkkinen, 13 years ago

Fixes #340. Run 'bootstrap' after update.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
RevLine 
[84]1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 668 2008-07-03 23:28:06Z jari $
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#
[519]10# This file is part of svndigest, http://trac.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
14# the Free Software Foundation; either version 2 of the License, or
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
23# along with this program; if not, write to the Free Software
24# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
25# 02111-1307, USA.
[7]26
[640]27AM_CPPFLAGS = $(SVNDIGEST_CPPFLAGS)
28AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS)
29
[668]30noinst_LIBRARIES = libsvndigest.a
[81]31
[543]32noinst_HEADERS = AddStats.h Alias.h BlameStats.h ClassicStats.h ColumnStream.h \
[487]33  Commitment.h Configuration.h css.h\
[465]34  Date.h Directory.h File.h first_page.h Functor.h Gnuplot.h GnuplotFE.h \
[606]35  HtmlBuf.h HtmlStream.h html_utility.h LineTypeParser.h \
[642]36  Node.h Option.h rmdirhier.h \
[569]37  Stats.h StatsCollection.h subversion_info.h SVN.h SVNblame.h  \
[286]38  SVNinfo.h SVNlog.h SVNproperty.h Trac.h utility.h
[81]39
[668]40libsvndigest_a_SOURCES = AddStats.cc Alias.cc BlameStats.cc \
[531]41  ClassicStats.cc ColumnStream.cc \
[303]42  Commitment.cc Configuration.cc \
[285]43  css.cc Date.cc Directory.cc File.cc first_page.cc\
[606]44  Functor.cc Gnuplot.cc GnuplotFE.cc  HtmlBuf.cc HtmlStream.cc \
[642]45  html_utility.cc LineTypeParser.cc Node.cc \
[668]46  rmdirhier.cc Stats.cc StatsCollection.cc subversion_info.cc SVN.cc \
[286]47  SVNblame.cc SVNinfo.cc SVNlog.cc SVNproperty.cc Trac.cc utility.cc
[91]48
[540]49
50
[569]51
[139]52clean-local:
[543]53  rm -rf *~
[540]54
55all-local:
56
57if HAVE_SVN_WC
[570]58@srcdir@/subversion_info.cc: subversion_info.cc.tmp
[569]59  @$(SHELL) @top_srcdir@/build_support/move-if-change subversion_info.cc.tmp \
[570]60  @srcdir@/subversion_info.cc
[540]61
[569]62subversion_info.cc.tmp: FORCE
63  @echo '// subversion_info.cc generated from subversion_info.cc.in.' > $@ ;\
[540]64  revision=`$(SVNVERSION) $(top_srcdir)` ;\
[562]65  year=`svn info $(top_srcdir)|$(SED) -n  's/.*Date: \(.*\)-..-.*/\1/p'`;\
66  $(SED) -e 's/sub_2_svn_revision/'$$revision'/g' \
[570]67  -e 's/sub_2_svn_year/'$$year'/g'  @srcdir@/subversion_info.cc.in >> $@ ;
[540]68endif
69
70FORCE:
Note: See TracBrowser for help on using the repository browser.