diff options
author | James Booth <boothj5@gmail.com> | 2014-03-08 23:00:23 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-03-08 23:00:23 +0000 |
commit | 864e728705d60c53342f8cbf409ceadf0898d9a1 (patch) | |
tree | 8fe42594c142b74b8d86fef6d0bfdd189c6b4c7d | |
parent | 2c976d3523ca9c8ce35ae6b198b8786177669df3 (diff) | |
download | profani-tty-864e728705d60c53342f8cbf409ceadf0898d9a1.tar.gz |
Added srdir to git version check
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 1ec141bb..b0ee7d3a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -113,7 +113,7 @@ tests_testsuite_LDADD = -lcmocka man_MANS = docs/profanity.1 if INCLUDE_GIT_VERSION -$(git_include).in: .git/HEAD .git/index +$(git_include).in: $(srcdir)/.git/HEAD $(srcdir)/.git/index rm -f $@ echo "#ifndef PROF_GIT_BRANCH" >> $@ echo "#define PROF_GIT_BRANCH \"$(shell git rev-parse --symbolic-full-name --abbrev-ref HEAD)\"" >> $@ |