From 2468d569b6441fa54beb5872a0fa3832eeba2a63 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Tue, 25 Jun 2013 18:00:21 +0200 Subject: [PATCH] Add ctags support for FreeBSD and remove hard-coded paths. --- SConstruct | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index b040c4c3ca..6c1b26dab2 100644 --- a/SConstruct +++ b/SConstruct @@ -17,9 +17,11 @@ Linux = bool('Linux' == platform.system()) Ubuntu = bool(Linux and 'Ubuntu' == platform.linux_distribution()[0]) if OSX or Ubuntu: - CTAGS = '/usr/bin/ctags' + CTAGS = 'ctags' +elif FreeBSD: + CTAGS = 'exctags' else: - CTAGS = '/usr/bin/exuberant-ctags' + CTAGS = 'exuberant-ctags' # # scons tools