Skip to content

Commit

Permalink
Minimize rebuilds on git version change
Browse files Browse the repository at this point in the history
It's headache when even doing commit leads to almost full rebuild due to
changed current git version without real content change.
  • Loading branch information
nick87720z committed May 23, 2021
1 parent 04c006a commit 16d7cb5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions source/rofi.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@

#ifdef USE_NK_GIT_VERSION
#include "nkutils-git-version.h"
#include <gitconfig.h>
#ifdef NK_GIT_VERSION
#define GIT_VERSION NK_GIT_VERSION
#endif
Expand Down

0 comments on commit 16d7cb5

Please sign in to comment.