Merge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector
[selector.git] / Makefile
index 23b62f4..1768697 100644 (file)
--- a/Makefile
+++ b/Makefile
 #  along with selector.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-BINARY_PATH = /usr/local/bin
+BINARY_PATH = /usr/bin
 MAN_PATH = /usr/share/man/man1
 
 LDFLAGS=-lcurses
 
-REVISION_NUMBER=$(shell git log | grep ^commit | wc -l)
+REVISION_NUMBER=$(shell git log | grep ^commit | wc -l | sed -e "s/[^0-9]//g")
 
 ifeq ($(DEBUG),yes)
   OPTIMIZE_FLAG = -ggdb3 -DDEBUG