about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-03-08 23:00:23 +0000
committerJames Booth <boothj5@gmail.com>2014-03-08 23:00:23 +0000
commit864e728705d60c53342f8cbf409ceadf0898d9a1 (patch)
tree8fe42594c142b74b8d86fef6d0bfdd189c6b4c7d
parent2c976d3523ca9c8ce35ae6b198b8786177669df3 (diff)
downloadprofani-tty-864e728705d60c53342f8cbf409ceadf0898d9a1.tar.gz
Added srdir to git version check
-rw-r--r--Makefile.am2
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)\"" >> $@