1 /**********************************************************************
2 Freeciv - Copyright (C) 2007 - The Freeciv Project
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
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 ***********************************************************************/
14 /* common/fc_gitrev_gen.h is automatically generated from
15 * bootstrap/fc_gitrev_gen.h.tmpl. Do not edit fc_gitrev_gen.h, edit
16 * fc_gitrev_gen.h.tmpl */
18 #ifndef FC__FC_GITREV_H
19 #define FC__FC_GITREV_H
21 /* One of the macros FC_GITREV_OFF, FC_GITREV_ON or FC_GITREV_MOD defined.
22 * If FC_GITREV_ON is defined, FC_GITREV2 contains valid git commit id
24 * If FC_GITREV_MOD is defined, this seems to be modified git commit.
25 * In that case FC_GITREV1 contains word "modified " and FC_GITREV2
27 * If FC_GITREV_OFF is defined, you should not use FC_GITREV1 and
28 * FC_GITREV2 even though they contain fallback string (currently "dist") */
29 #define FC_GITREV_<GITREVSTATE>
30 #define FC_GITREV1 "<GITREV1>"
31 #define FC_GITREV2 "<GITREV2>"
33 #endif /* FC__FC_GITREV_H */