Permalink
Browse files

Added version control to Makefile.

  • Loading branch information...
1 parent d2db957 commit 5ab35c97fa1c265a9e1068d18da338b7c63f0267 @peteruhnak peteruhnak committed with Jan 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
@@ -2,7 +2,7 @@ MANDIR = $(DESTDIR)/usr/share/man/man1
BINDIR = $(DESTDIR)/usr/bin
gitpython:
- echo "import git" | python
+ echo "from git import __version__\nfrom distutils.version import LooseVersion\nif LooseVersion(__version__) < '0.3.0':\n\traise ImportError('gitpython 0.3.x required.')" | python
.PHONY: install
install: gitpython

0 comments on commit 5ab35c9

Please sign in to comment.