source: trunk/lib/Makefile.am @ 564

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

added test for long long, allow user to set CXXFLAGS, set properties in svndigest.m4, and minor change of generation of subversion_info.h

  • 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 564 2008-03-07 15:55:00Z peter $
4
[91]5# Copyright (C) 2005 Jari Häkkinen
6# Copyright (C) 2006 Jari Häkkinen, Peter Johansson
[229]7# Copyright (C) 2007 Peter Johansson
[2]8#
[519]9# This file is part of svndigest, http://trac.thep.lu.se/svndigest
[84]10#
[149]11# svndigest is free software; you can redistribute it and/or modify it
[84]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#
[149]16# svndigest is distributed in the hope that it will be useful, but
[84]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.
[7]25
[167]26noinst_LTLIBRARIES = libsvndigest.la
[81]27
[543]28noinst_HEADERS = AddStats.h Alias.h BlameStats.h ClassicStats.h ColumnStream.h \
[487]29  Commitment.h Configuration.h css.h\
[465]30  Date.h Directory.h File.h first_page.h Functor.h Gnuplot.h GnuplotFE.h \
[552]31  HtmlStream.h html_utility.h LineTypeParser.h \
32  LogIterator.h Node.h rmdirhier.h \
[532]33  Stats.h StatsCollection.h SVN.h SVNblame.h  \
[286]34  SVNinfo.h SVNlog.h SVNproperty.h Trac.h utility.h
[81]35
[543]36libsvndigest_la_SOURCES = AddStats.cc Alias.cc BlameStats.cc \
[531]37  ClassicStats.cc ColumnStream.cc \
[303]38  Commitment.cc Configuration.cc \
[285]39  css.cc Date.cc Directory.cc File.cc first_page.cc\
[465]40  Functor.cc Gnuplot.cc GnuplotFE.cc  HtmlStream.cc \
[552]41  html_utility.cc LineTypeParser.cc LogIterator.cc Node.cc \
[532]42  rmdirhier.cc Stats.cc StatsCollection.cc SVN.cc       \
[286]43  SVNblame.cc SVNinfo.cc SVNlog.cc SVNproperty.cc Trac.cc utility.cc
[91]44
[540]45BUILT_SOURCES=subversion_info.h
46
47EXTRA_DIST=subversion_info.h
48
[139]49clean-local:
[543]50  rm -rf *~
[540]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; \
[549]60    echo creating subversion_info.h; \
[540]61  fi; \
62  rm -f subversion_info.h.tmp subversion_info.h.diff ;
63
64
65subversion_info.h.tmp: FORCE
[564]66  @echo '// subversion_info.h generated from subversion_info.h.in.' > $@ ;\
[540]67  revision=`$(SVNVERSION) $(top_srcdir)` ;\
[562]68  year=`svn info $(top_srcdir)|$(SED) -n  's/.*Date: \(.*\)-..-.*/\1/p'`;\
69  $(SED) -e 's/sub_2_svn_revision/'$$revision'/g' \
[540]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.