fixed build error when make run with -jN option

Race can occur when gitversion file isn't fully generated before
it is used.
This commit is contained in:
Dmitry Podgorny
2014-03-06 02:06:22 +02:00
parent a9e2028981
commit 0fbaa6f5ee
8 changed files with 41 additions and 41 deletions

View File

@@ -24,7 +24,7 @@
#include "config.h"
#ifdef HAVE_GIT_VERSION
#include "gitversion.c"
#include "gitversion.h"
#endif
#include "profanity.h"

View File

@@ -22,7 +22,7 @@
#include "config.h"
#ifdef HAVE_GIT_VERSION
#include "gitversion.c"
#include "gitversion.h"
#endif
#include <locale.h>

View File

@@ -41,7 +41,7 @@
#include "xmpp/bookmark.h"
#ifdef HAVE_GIT_VERSION
#include "gitversion.c"
#include "gitversion.h"
#endif
static void _cons_splash_logo(void);

View File

@@ -23,7 +23,7 @@
#include "config.h"
#ifdef HAVE_GIT_VERSION
#include "gitversion.c"
#include "gitversion.h"
#endif
#include <stdlib.h>

View File

@@ -23,7 +23,7 @@
#include "config.h"
#ifdef HAVE_GIT_VERSION
#include "gitversion.c"
#include "gitversion.h"
#endif
#include <stdlib.h>

View File

@@ -23,7 +23,7 @@
#include "config.h"
#ifdef HAVE_GIT_VERSION
#include "gitversion.c"
#include "gitversion.h"
#endif
#include <stdlib.h>