about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-03-08 23:34:18 +0000
committerJames Booth <boothj5@gmail.com>2014-03-08 23:34:18 +0000
commit13ee16dedb0cc18801b211d666aae0dcd71dd50b (patch)
tree2ef3ea5b5225c3311ea873c3099750560a0654f0
parent864e728705d60c53342f8cbf409ceadf0898d9a1 (diff)
downloadprofani-tty-13ee16dedb0cc18801b211d666aae0dcd71dd50b.tar.gz
Revert "Added srdir to git version check"
This reverts commit 864e728705d60c53342f8cbf409ceadf0898d9a1.
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index b0ee7d3a..1ec141bb 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: $(srcdir)/.git/HEAD $(srcdir)/.git/index
+$(git_include).in: .git/HEAD .git/index
 	rm -f $@
 	echo "#ifndef PROF_GIT_BRANCH" >> $@
 	echo "#define PROF_GIT_BRANCH \"$(shell git rev-parse --symbolic-full-name --abbrev-ref HEAD)\"" >> $@