From b8732891e95b63d316d6eadabd26d9c893d6e942 Mon Sep 17 00:00:00 2001
From: Aaron <aaronquinlan@gmail.com>
Date: Fri, 9 Mar 2012 14:39:44 -0500
Subject: [PATCH] go back to gitversion

---
 Makefile                        | 4 ++--
 src/utils/version/version_git.h | 6 ------
 2 files changed, 2 insertions(+), 8 deletions(-)
 delete mode 100644 src/utils/version/version_git.h

diff --git a/Makefile b/Makefile
index ba5547e0..7867087a 100644
--- a/Makefile
+++ b/Makefile
@@ -79,7 +79,7 @@ UTIL_SUBDIRS =	$(SRC_DIR)/utils/bedFile \
 BUILT_OBJECTS = $(OBJ_DIR)/*.o
 
 
-all: print_banner $(OBJ_DIR) $(BIN_DIR) $(UTIL_SUBDIRS) $(SUBDIRS)
+all: print_banner $(OBJ_DIR) $(BIN_DIR) version $(UTIL_SUBDIRS) $(SUBDIRS)
 	@echo "- Building main bedtools binary."
 	@$(CXX) $(CXXFLAGS) -c src/bedtools.cpp -o obj/bedtools.o -I$(UTIL_DIR)/version/
 	@$(CXX) $(LDFLAGS) $(CXXFLAGS) -o $(BIN_DIR)/bedtools $(BUILT_OBJECTS) -L$(UTIL_DIR)/BamTools/lib/ -lbamtools $(LIBS)
@@ -128,7 +128,7 @@ test: all
 
 .PHONY: test
 
-#.PHONY: gitversion
+.PHONY: version
 version:
 	@( BEDTOOLS_VERSION="" ; \
 	[ -e "$(VERSION_FILE)" ] && BEDTOOLS_VERSION=$$(grep "define VERSION_GIT " "$(VERSION_FILE)" | cut -f3 -d" " | sed 's/"//g') ; \
diff --git a/src/utils/version/version_git.h b/src/utils/version/version_git.h
deleted file mode 100644
index b09c1bb8..00000000
--- a/src/utils/version/version_git.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef VERSION_GIT_H
-#define VERSION_GIT_H
-
-#define VERSION_GIT "v2.16.0"
-
-#endif /* VERSION_GIT_H */
-- 
GitLab