source: trunk/lib/subversion_info.cc.in @ 569

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

NOTE: may cause file name clash. Adding file
subversion_info.h'. Previously make' generated this file, and thus
you may experience a file name clash. Please remove subversion_info.h
prior updating.

Moved implementation of subversion_info to source file in order to
avoid re-compilations not needed. Using script move-if-change to
create source file.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
RevLine 
[569]1// $Id: subversion_info.cc.in 569 2008-03-13 21:55:15Z peter $
2
3/*
4  Copyright (C) 2008 Peter Johansson
5
6  This file is part of svndigest, http://trac.thep.lu.se/svndigest
7
8  svndigest is free software; you can redistribute it and/or modify it
9  under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 2 of the License, or
11  (at your option) any later version.
12
13  svndigest is distributed in the hope that it will be useful, but
14  WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  General Public License for more details.
17
18  You should have received a copy of the GNU General Public License
19  along with this program; if not, write to the Free Software
20  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21  02111-1307, USA.
22*/
23
24#include "subversion_info.h"
25#include <string>
26
27namespace theplu{
28namespace svndigest{
29
30  std::string svn_revision(void)
31  {
32    return "sub_2_svn_year";
33  }
34
35
36  std::string svn_year(void)
37  {
38    return "sub_2_svn_revision";
39  }
40
41}} // end of namespace svndigest and namespace theplu
Note: See TracBrowser for help on using the repository browser.