Ignore:
Timestamp:
Jun 30, 2009, 5:57:27 AM (12 years ago)
Author:
Peter Johansson
Message:

refs #388

Create a sub-directory 'lib/yat' in which files from yat are
placed. The files may be updated via 'make fetch', see file README for
more details on how to change which files are updated/copied through
this mechanism.

The reason we do not use subversion's external mechanism is that we
don't want the files to be synchronised with yat automatically. We
want the update to be moderated by some developer.

I chose to fetch files using the svn client rather than wget because
the svn allows us to get an Id string with information from the yat
repository. 'wget' would just download the file as it appears on the
server that is the string is not expanded.

The file 'config_public.h' is created by configure just as in
yat. This implies that automake adds $(top_builddir)/lib/yat to the
include path so unless in a VPATH build $(top_srcdir)/lib/yat is in
the include path. As we have already added $(top_srcdir)/lib to the
include path, and there are both a lib/utility.h and a
lib/yat/utility.h it is not obvious which file is included when having
'include "utility.h"'. For this reason, when being in bin/ and test/
it is needed to include "../lib/utility.h" rather than "utility.h"
when we want to include 'lib/utility.h'.

Location:
trunk/lib/yat
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/lib/yat/OptionSwitch.h

    • Property svn:keywords deleted
    r792 r795  
    1 #ifndef _theplu_svndigest_option_switch_
    2 #define _theplu_svndigest_option_switch_
     1#ifndef _theplu_yat_utility_option_switch_
     2#define _theplu_yat_utility_option_switch_
    33
    4 // $Id$
     4// $Id: OptionSwitch.h 1797 2009-02-12 18:07:10Z peter $
    55
    66/*
    7   Copyright (C) 2007 Jari Häkkinen, Peter Johansson
     7  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    88
    9   This file is part of svndigest, http://dev.thep.lu.se/svndigest
     9  This file is part of the yat library, http://dev.thep.lu.se/yat
    1010
    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 3 of the License, or
    14   (at your option) any later version.
     11  The yat library is free software; you can redistribute it and/or
     12  modify it under the terms of the GNU General Public License as
     13  published by the Free Software Foundation; either version 3 of the
     14  License, or (at your option) any later version.
    1515
    16   svndigest is distributed in the hope that it will be useful, but
    17   WITHOUT ANY WARRANTY; without even the implied warranty of
     16  The yat library is distributed in the hope that it will be useful,
     17  but WITHOUT ANY WARRANTY; without even the implied warranty of
    1818  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    1919  General Public License for more details.
    2020
    2121  You should have received a copy of the GNU General Public License
    22   along with svndigest. If not, see <http://www.gnu.org/licenses/>.
     22  along with yat. If not, see <http://www.gnu.org/licenses/>.
    2323*/
    2424
     
    2828
    2929namespace theplu {
    30 namespace svndigest {
     30namespace yat {
     31namespace utility {
    3132
    3233  class CommandLine;
     
    8182  };
    8283
    83 }} // of namespace svndigest, and theplu
     84}}} // of namespace utility, yat, and theplu
    8485
    8586#endif
Note: See TracChangeset for help on using the changeset viewer.