From 16d7cb5eb636bb501862cbeea90d33e2863ef21f Mon Sep 17 00:00:00 2001 From: Nikita Zlobin Date: Sat, 22 May 2021 15:19:48 +0500 Subject: [PATCH] Minimize rebuilds on git version change It's headache when even doing commit leads to almost full rebuild due to changed current git version without real content change. --- configure.ac | 1 - source/rofi.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 03dc1d2f5..c087d872b 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,6 @@ AC_INIT([rofi], [1.6.1-dev], [https://github.com/davatorium/rofi/],[],[https://r AC_CONFIG_SRCDIR([source/rofi.c]) AC_CONFIG_HEADER([config.h]) -AH_BOTTOM([#include "gitconfig.h"]) dnl --------------------------------------------------------------------- dnl Lex & Bison language parser. diff --git a/source/rofi.c b/source/rofi.c index fc7ba62c9..e619025d7 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -49,6 +49,7 @@ #ifdef USE_NK_GIT_VERSION #include "nkutils-git-version.h" +#include #ifdef NK_GIT_VERSION #define GIT_VERSION NK_GIT_VERSION #endif