source: trunk/lib/Makefile.am @ 705

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

importing classes for commandline parsing from yat. This fixes #349 and #265

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 705 2008-11-25 23:33:26Z peter $
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  CommandLine.h Commitment.h Configuration.h css.h\
32  Date.h Directory.h Exception.h File.h first_page.h Functor.h \
33  Gnuplot.h GnuplotFE.h \
34  HtmlBuf.h HtmlStream.h html_utility.h LineTypeParser.h \
35  Node.h Option.h OptionArg.h OptionHelp.h OptionSwitch.h \
36  OptionVersion.h rmdirhier.h \
37  Stats.h StatsCollection.h subversion_info.h SVN.h SVNblame.h  \
38  SVNinfo.h SVNlog.h SVNproperty.h Trac.h utility.h
39
40libsvndigest_a_SOURCES = AddStats.cc Alias.cc BlameStats.cc \
41  ClassicStats.cc ColumnStream.cc \
42  CommandLine.cc Commitment.cc Configuration.cc \
43  css.cc Date.cc Directory.cc File.cc FileUtil.cc first_page.cc\
44  Functor.cc Gnuplot.cc GnuplotFE.cc  HtmlBuf.cc HtmlStream.cc \
45  html_utility.cc LineTypeParser.cc Node.cc \
46  Option.cc OptionHelp.cc OptionSwitch.cc OptionVersion.cc \
47  rmdirhier.cc Stats.cc StatsCollection.cc subversion_info.cc SVN.cc \
48  SVNblame.cc SVNinfo.cc SVNlog.cc SVNproperty.cc Trac.cc utility.cc
49
50
51
52
53clean-local:
54  rm -rf *~
55
56all-local:
57
58if HAVE_SVN_WC
59$(srcdir)/subversion_info.cc: subversion_info.cc.tmp
60  @$(SHELL) $(top_srcdir)/build_support/move-if-change subversion_info.cc.tmp \
61  $(srcdir)/subversion_info.cc
62
63subversion_info.cc.tmp: FORCE
64  @echo '// subversion_info.cc generated from subversion_info.cc.in.' > $@ ;\
65  revision=`$(SVNVERSION) $(top_srcdir)` ;\
66  year=`svn info $(top_srcdir)|$(SED) -n  's/.*Date: \(.*\)-..-.*/\1/p'`;\
67  $(SED) -e 's/sub_2_svn_revision/'$$revision'/g' \
68  -e 's/sub_2_svn_year/'$$year'/g' $(srcdir)/subversion_info.cc.in >> $@ ;
69endif
70
71FORCE:
Note: See TracBrowser for help on using the repository browser.