Module: kamailio
Branch: master
Commit: 7585a57037f6ef21cda376b16b0077fa981eceac
URL:
https://github.com/kamailio/kamailio/commit/7585a57037f6ef21cda376b16b0077f…
Author: Mikko Lehto <mslehto(a)iki.fi>
Committer: Henning Westerholt <henningw(a)users.noreply.github.com>
Date: 2018-06-12T08:19:23+02:00
src/Makefile: adjust Makefile to populate REPO_ variables in autover.h again
---
Modified: src/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/7585a57037f6ef21cda376b16b0077f…
Patch:
https://github.com/kamailio/kamailio/commit/7585a57037f6ef21cda376b16b0077f…
---
diff --git a/src/Makefile b/src/Makefile
index d0faa5d473..5b67d7ad67 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -348,7 +348,7 @@ modules-cfg modules-list modules-lst:
rm -f modules.lst
$(MAKE) modules.lst
-ifneq ($(wildcard .git),)
+ifneq ($(wildcard ../.git),)
# if .git/ exists
repo_ver=$(shell RV=`git rev-parse --verify --short=6 HEAD 2>/dev/null`;\
[ -n "$$RV" ] && \
@@ -358,7 +358,7 @@ repo_ver=$(shell RV=`git rev-parse --verify --short=6 HEAD
2>/dev/null`;\
RV="$$RV"-dirty; echo "$$RV")
repo_hash=$(subst -dirty,,$(repo_ver))
repo_state=$(subst %-dirty,dirty,$(findstring -dirty,$(repo_ver)))
-autover_h_dep=.git $(filter-out $(auto_gen), $(sources)) core/cfg.y core/cfg.lex
Makefile
+autover_h_dep=../.git $(filter-out $(auto_gen), $(sources)) core/cfg.y core/cfg.lex
Makefile
else
# else if .git/ does not exist
repo_ver=