about summary refs log tree commit diff stats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-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)\"" >> $@