source: trunk/lib/Makefile.am @ 1067

Last change on this file since 1067 was 1067, checked in by Peter Johansson, 11 years ago

refs #307. Lift out load of configuration file to common place

  • 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 1067 2010-06-06 02:40:30Z peter $
4
[978]5# Copyright (C) 2005 Jari Häkkinen
6# Copyright (C) 2006, 2007, 2008, 2009 Jari Häkkinen, Peter Johansson
[2]7#
[687]8# This file is part of svndigest, http://dev.thep.lu.se/svndigest
[84]9#
[149]10# svndigest is free software; you can redistribute it and/or modify it
[84]11# under the terms of the GNU General Public License as published by
[693]12# the Free Software Foundation; either version 3 of the License, or
[84]13# (at your option) any later version.
14#
[149]15# svndigest is distributed in the hope that it will be useful, but
[84]16# WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18# General Public License for more details.
19#
20# You should have received a copy of the GNU General Public License
[693]21# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
[7]22
[836]23MOVE_IF_CHANGE = $(SHELL) $(top_srcdir)/build_support/move-if-change
[837]24SVN_REVISION = `$(SVNVERSION) $(top_srcdir)`
[836]25
[795]26SUBDIRS = yat .
27
[898]28AM_CPPFLAGS = $(DEFAULT_CPPFLAGS) $(APR_CPPFLAGS) $(SVN_CPPFLAGS) \
29  $(PLPLOT_CPPFLAGS)
[887]30AM_CXXFLAGS = $(DEFAULT_CXXFLAGS)
[640]31
[668]32noinst_LIBRARIES = libsvndigest.a
[81]33
[795]34noinst_HEADERS = AddStats.h Alias.h BlameStats.h ClassicStats.h \
[929]35  Colors.h Commitment.h Configuration.h css.h \
[795]36  Date.h Directory.h File.h first_page.h Functor.h \
[858]37  Graph.h \
[606]38  HtmlBuf.h HtmlStream.h html_utility.h LineTypeParser.h \
[1067]39  main_utility.h Node.h \
[705]40  OptionVersion.h rmdirhier.h \
[569]41  Stats.h StatsCollection.h subversion_info.h SVN.h SVNblame.h  \
[286]42  SVNinfo.h SVNlog.h SVNproperty.h Trac.h utility.h
[81]43
[668]44libsvndigest_a_SOURCES = AddStats.cc Alias.cc BlameStats.cc \
[929]45  ClassicStats.cc Colors.cc \
[909]46  Commitment.cc Configuration.cc \
[706]47  css.cc Date.cc Directory.cc File.cc first_page.cc\
[858]48  Functor.cc Graph.cc HtmlBuf.cc HtmlStream.cc \
[1067]49  html_utility.cc LineTypeParser.cc main_utility.cc Node.cc \
[795]50  OptionVersion.cc \
[668]51  rmdirhier.cc Stats.cc StatsCollection.cc subversion_info.cc SVN.cc \
[286]52  SVNblame.cc SVNinfo.cc SVNlog.cc SVNproperty.cc Trac.cc utility.cc
[91]53
[540]54
55
[569]56
[139]57clean-local:
[543]58  rm -rf *~
[540]59
60all-local:
61
62if HAVE_SVN_WC
[696]63$(srcdir)/subversion_info.cc: subversion_info.cc.tmp
[836]64  @$(MOVE_IF_CHANGE) subversion_info.cc.tmp $@
[540]65
[569]66subversion_info.cc.tmp: FORCE
67  @echo '// subversion_info.cc generated from subversion_info.cc.in.' > $@ ;\
[837]68  revision=$(SVN_REVISION);\
[733]69  $(SED) -e 's/sub_2_svn_revision/r'$$revision'/g' \
[726]70  $(srcdir)/subversion_info.cc.in >> $@ ;
71
[733]72else
73# this is needed in 'svn export' build
74$(srcdir)/subversion_info.cc:
75  $(SED) -e 's/sub_2_svn_revision//g' \
76  $(srcdir)/subversion_info.cc.in >> $@ ;
77
[540]78endif
79
80FORCE:
Note: See TracBrowser for help on using the repository browser.