source: trunk/lib/Makefile.am @ 693

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

Fixes #339. Change to GPLv3.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 693 2008-09-11 20:42:56Z jari $
4
5# Copyright (C) 2005 Jari Häkkinen
6# Copyright (C) 2006 Jari Häkkinen, Peter Johansson
7# Copyright (C) 2007 Peter Johansson
8# Copyright (C) 2008 Jari Häkkinen, Peter Johansson
9#
10# This file is part of svndigest, http://dev.thep.lu.se/svndigest
11#
12# svndigest is free software; you can redistribute it and/or modify it
13# under the terms of the GNU General Public License as published by
14# the Free Software Foundation; either version 3 of the License, or
15# (at your option) any later version.
16#
17# svndigest is distributed in the hope that it will be useful, but
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 svndigest. If not, see <http://www.gnu.org/licenses/>.
24
25AM_CPPFLAGS = $(SVNDIGEST_CPPFLAGS)
26AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS)
27
28noinst_LIBRARIES = libsvndigest.a
29
30noinst_HEADERS = AddStats.h Alias.h BlameStats.h ClassicStats.h ColumnStream.h \
31  Commitment.h Configuration.h css.h\
32  Date.h Directory.h File.h first_page.h Functor.h Gnuplot.h GnuplotFE.h \
33  HtmlBuf.h HtmlStream.h html_utility.h LineTypeParser.h \
34  Node.h Option.h rmdirhier.h \
35  Stats.h StatsCollection.h subversion_info.h SVN.h SVNblame.h  \
36  SVNinfo.h SVNlog.h SVNproperty.h Trac.h utility.h
37
38libsvndigest_a_SOURCES = AddStats.cc Alias.cc BlameStats.cc \
39  ClassicStats.cc ColumnStream.cc \
40  Commitment.cc Configuration.cc \
41  css.cc Date.cc Directory.cc File.cc first_page.cc\
42  Functor.cc Gnuplot.cc GnuplotFE.cc  HtmlBuf.cc HtmlStream.cc \
43  html_utility.cc LineTypeParser.cc Node.cc \
44  rmdirhier.cc Stats.cc StatsCollection.cc subversion_info.cc SVN.cc \
45  SVNblame.cc SVNinfo.cc SVNlog.cc SVNproperty.cc Trac.cc utility.cc
46
47
48
49
50clean-local:
51  rm -rf *~
52
53all-local:
54
55if HAVE_SVN_WC
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
59
60subversion_info.cc.tmp: FORCE
61  @echo '// subversion_info.cc generated from subversion_info.cc.in.' > $@ ;\
62  revision=`$(SVNVERSION) $(top_srcdir)` ;\
63  year=`svn info $(top_srcdir)|$(SED) -n  's/.*Date: \(.*\)-..-.*/\1/p'`;\
64  $(SED) -e 's/sub_2_svn_revision/'$$revision'/g' \
65  -e 's/sub_2_svn_year/'$$year'/g'  @srcdir@/subversion_info.cc.in >> $@ ;
66endif
67
68FORCE:
Note: See TracBrowser for help on using the repository browser.