source: trunk/lib/Makefile.am @ 552

Last change on this file since 552 was 552, checked in by Peter Johansson, 14 years ago

fixes linetype Copyright

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 552 2008-01-08 14:40:37Z 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#
9# This file is part of svndigest, http://trac.thep.lu.se/svndigest
10#
11# svndigest is free software; you can redistribute it and/or modify it
12# under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 2 of the License, or
14# (at your option) any later version.
15#
16# svndigest is distributed in the hope that it will be useful, but
17# WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19# General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with this program; if not, write to the Free Software
23# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
24# 02111-1307, USA.
25
26noinst_LTLIBRARIES = libsvndigest.la
27
28noinst_HEADERS = AddStats.h Alias.h BlameStats.h ClassicStats.h ColumnStream.h \
29  Commitment.h Configuration.h css.h\
30  Date.h Directory.h File.h first_page.h Functor.h Gnuplot.h GnuplotFE.h \
31  HtmlStream.h html_utility.h LineTypeParser.h \
32  LogIterator.h Node.h rmdirhier.h \
33  Stats.h StatsCollection.h SVN.h SVNblame.h  \
34  SVNinfo.h SVNlog.h SVNproperty.h Trac.h utility.h
35
36libsvndigest_la_SOURCES = AddStats.cc Alias.cc BlameStats.cc \
37  ClassicStats.cc ColumnStream.cc \
38  Commitment.cc Configuration.cc \
39  css.cc Date.cc Directory.cc File.cc first_page.cc\
40  Functor.cc Gnuplot.cc GnuplotFE.cc  HtmlStream.cc \
41  html_utility.cc LineTypeParser.cc LogIterator.cc Node.cc \
42  rmdirhier.cc Stats.cc StatsCollection.cc SVN.cc       \
43  SVNblame.cc SVNinfo.cc SVNlog.cc SVNproperty.cc Trac.cc utility.cc
44
45BUILT_SOURCES=subversion_info.h
46
47EXTRA_DIST=subversion_info.h
48
49clean-local:
50  rm -rf *~
51
52all-local:
53
54if HAVE_SVN_WC
55subversion_info.h: subversion_info.h.tmp
56  @if [ ! -f $@ ]; then touch $@; fi; \
57  diff $@ subversion_info.h.tmp > subversion_info.h.diff; \
58  if test -s "subversion_info.h.diff"; then \
59    mv subversion_info.h.tmp subversion_info.h; \
60    echo creating subversion_info.h; \
61  fi; \
62  rm -f subversion_info.h.tmp subversion_info.h.diff ;
63
64
65subversion_info.h.tmp: FORCE
66  @echo '// svn_version.h generated from svn_version.h.in.' > $@ ;\
67  revision=`$(SVNVERSION) $(top_srcdir)` ;\
68  year=`svn info $(top_srcdir)| sed -n  's/.*Date: \(.*\)-..-.*/\1/p'`;\
69  sed -e 's/sub_2_svn_revision/'$$revision'/g' \
70  -e 's/sub_2_svn_year/'$$year'/g'  subversion_info.h.in >> $@ ;
71endif
72
73FORCE:
Note: See TracBrowser for help on using the repository browser.