Add git commit id to the version if it's not a tag
[lttng-tools.git] / include / version.h.tmpl
... / ...
CommitLineData
1/*
2 * Copyright (C) 2013-2014 - Raphaƫl Beamonte <raphael.beamonte@gmail.com>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License, version 2 only,
6 * as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License along
14 * with this program; if not, write to the Free Software Foundation, Inc.,
15 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16 */
17
18#include <config.h>
19
20#ifndef VERSION_H
21#define VERSION_H
22
23#define GIT_VERSION
24
25/*
26 * Define the macro containing the FULL version
27 */
28#ifdef GIT_VERSION
29#define FULL_VERSION "" GIT_VERSION
30#else /* GIT_VERSION */
31#define FULL_VERSION "v" VERSION
32#endif /* GIT_VERSION */
33
34#endif /* VERSION_H */
This page took 0.022752 seconds and 4 git commands to generate.