summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 232b9f9..626bc37 100644
--- a/Makefile
+++ b/Makefile
@@ -69,6 +69,10 @@ ifneq ($(wildcard .version),)
else
ifneq ($(wildcard .svn),)
DAHDIVERSION:=$(shell build_tools/make_version . dahdi/linux)
+else
+ifneq ($(wildcard .git),)
+ DAHDIVERSION:=$(shell build_tools/make_version . dahdi/linux)
+endif
endif
endif