## Process this file with automake to produce Makefile.in ## ## $Id$ # Copyright (C) 2009, 2010, 2011, 2012 Peter Johansson # # This file is part of svndigest, http://dev.thep.lu.se/svndigest # # svndigest is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # svndigest is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with svndigest. If not, see . MOVE_IF_CHANGE = $(SHELL) $(abs_top_srcdir)/move-if-change noinst_LIBRARIES += yat/libyat.a yat_headers = yat_headers += yat/ColumnStream.h yat_headers += yat/CommandLine.h yat_headers += yat/deprecate.h yat_headers += yat/Exception.h yat_headers += yat/FileUtil.h yat_headers += yat/Option.h yat_headers += yat/OptionArg.h yat_headers += yat/OptionHelp.h yat_headers += yat/OptionSwitch.h yat_headers += yat/Segment.h yat_headers += yat/SegmentSet.h yat_headers += yat/SegmentTree.h yat_headers += yat/split.h yat_headers += yat/stl_utility.h yat_headers += yat/utility.h yat_headers += yat/yat_assert.h noinst_HEADERS += $(yat_headers) yat_cc_files = yat_cc_files += yat/ColumnStream.cc yat_cc_files += yat/CommandLine.cc yat_cc_files += yat/Exception.cc yat_cc_files += yat/FileUtil.cc yat_cc_files += yat/Option.cc yat_cc_files += yat/OptionHelp.cc yat_cc_files += yat/OptionSwitch.cc yat_cc_files += yat/split.cc yat_libyat_a_SOURCES = $(yat_cc_files) yat/dummie.cc SVN = svn ## FIXME FETCH_FILES = yat/config_public.h.in $(yat_headers) $(yat_cc_files) FETCH_DIR = Fetchdir/yat yat_url = http://dev.thep.lu.se/yat/svn/trunk/yat/utility fetch: test -d $(FETCH_DIR) || $(SVN) co $(yat_url) $(FETCH_DIR) (cd $(FETCH_DIR) && $(SVN) revert -Rq . && $(SVN) update) cp $(srcdir)/yat/Exception.cc.patch $(FETCH_DIR) (cd $(FETCH_DIR) && patch -i Exception.cc.patch || exit 1) cp $(srcdir)/yat/stl_utility.h.patch $(FETCH_DIR) (cd $(FETCH_DIR) && patch -i stl_utility.h.patch || exit 1) @for f in $(FETCH_FILES); do \ $(MOVE_IF_CHANGE) Fetchdir/$$f $(srcdir)/$$f; \ done