source: trunk/yat/Makefile.am @ 1396

Last change on this file since 1396 was 1396, checked in by Peter Johansson, 12 years ago

exclude dummie.cc from files to fetch from yat repo

  • 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 1396 2011-07-25 01:42:30Z peter $
4
5# Copyright (C) 2009, 2010, 2011 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 = $(SVNDIGEST_CPPFLAGS)
25AM_CXXFLAGS = $(SVNDIGEST_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
42yat_cc_files =
43yat_cc_files += ColumnStream.cc
44yat_cc_files += CommandLine.cc
45yat_cc_files += Exception.cc
46yat_cc_files += Option.cc
47yat_cc_files += OptionHelp.cc
48yat_cc_files += OptionSwitch.cc
49yat_cc_files += split.cc
50
51libyat_a_SOURCES = $(yat_cc_files) dummie.cc
52
53clean-local:; rm -rf Fetchdir
54
55SVN = svn
56FETCH_FILES = config_public.h.in $(noinst_HEADERS) $(yat_cc_files)
57
58yat_url = http://dev.thep.lu.se/yat/svn/trunk/yat/utility
59
60fetch:
61  test -d Fetchdir || $(SVN) co $(yat_url) Fetchdir
62  (cd Fetchdir && $(SVN) revert -Rq . && $(SVN) update)
63  cp $(srcdir)/Exception.cc.patch Fetchdir
64  (cd Fetchdir && patch -i Exception.cc.patch || exit 1)
65  @for f in $(FETCH_FILES); do \
66    $(MOVE_IF_CHANGE) -v Fetchdir/$$f $(srcdir)/$$f; \
67  done
Note: See TracBrowser for help on using the repository browser.