source: trunk/yat/Makefile.am @ 1152

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

allow config file to override svn property (fixes #326). Adding two new files (split.h and split.cc) from yat.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 1152 2010-08-07 14:31:18Z peter $
4
5# Copyright (C) 2009, 2010 Peter Johansson
6#
7# This file is part of svndigest, http://dev.thep.lu.se/svndigest
8#
9# svndigest is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 3 of the License, or
12# (at your option) any later version.
13#
14# svndigest is distributed in the hope that it will be useful, but
15# WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17# General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
21
22MOVE_IF_CHANGE = $(SHELL) $(abs_top_srcdir)/build_support/move-if-change
23
24AM_CPPFLAGS = $(DEFAULT_CPPFLAGS)
25AM_CXXFLAGS = $(DEFAULT_CXXFLAGS)
26
27noinst_LIBRARIES = libyat.a
28
29noinst_HEADERS  =
30noinst_HEADERS += ColumnStream.h
31noinst_HEADERS += CommandLine.h
32noinst_HEADERS += deprecate.h
33noinst_HEADERS += Exception.h
34noinst_HEADERS += Option.h
35noinst_HEADERS += OptionArg.h
36noinst_HEADERS += OptionHelp.h
37noinst_HEADERS += OptionSwitch.h
38noinst_HEADERS += split.h
39noinst_HEADERS += utility.h
40
41
42libyat_a_SOURCES =
43libyat_a_SOURCES += ColumnStream.cc
44libyat_a_SOURCES += CommandLine.cc
45libyat_a_SOURCES += Exception.cc
46libyat_a_SOURCES += Option.cc
47libyat_a_SOURCES += OptionHelp.cc
48libyat_a_SOURCES += OptionSwitch.cc
49libyat_a_SOURCES += split.cc
50
51
52clean-local:; rm -rf Fetchdir
53
54SVN = svn
55FETCH_FILES = config_public.h.in $(noinst_HEADERS) $(libyat_a_SOURCES)
56
57yat_url = http://dev.thep.lu.se/yat/svn/trunk/yat/utility
58
59fetch:
60  test -d Fetchdir || $(SVN) co $(yat_url) Fetchdir
61  (cd Fetchdir && $(SVN) revert -Rq . && $(SVN) update)
62  cp $(srcdir)/Exception.cc.patch Fetchdir
63  (cd Fetchdir && patch -i Exception.cc.patch || exit 1)
64  @for f in $(FETCH_FILES); do \
65    $(MOVE_IF_CHANGE) -v Fetchdir/$$f $(srcdir)/$$f; \
66  done
Note: See TracBrowser for help on using the repository browser.