summaryrefslogtreecommitdiff
blob: d97d98377b89fa67dbf52a6f806328d7a6d14c4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- mosh-1.2.5/Makefile.am
+++ mosh-1.2.5/Makefile.am
@@ -8,12 +8,7 @@
 
 VERSION:
 	@echo @PACKAGE_STRING@ > VERSION.dist
-	@set -e; if git describe --dirty --always > VERSION.git 2>&1 && \
-		[ -z `git rev-parse --show-prefix` ]; then \
-		if ! diff -q VERSION.git VERSION > /dev/null 2>&1; then \
-			mv -f VERSION.git VERSION; \
-		fi; \
-	elif ! diff -q VERSION.dist VERSION > /dev/null 2>&1; then \
+	@set -e; if ! diff -q VERSION.dist VERSION > /dev/null 2>&1; then \
 		mv -f VERSION.dist VERSION; \
 	fi
 	@rm -f VERSION.dist VERSION.git