(*********************************************************************************)

(*                Cameleon                                                       *)
(*                                                                               *)
(*    Copyright (C) 2005,2006 Institut National de Recherche en Informatique     *)
(*    et en Automatique. All rights reserved.                                    *)
(*                                                                               *)
(*    This program is free software; you can redistribute it and/or modify       *)
(*    it under the terms of the GNU Library General Public License as            *)
(*    published by the Free Software Foundation; either version 2 of the         *)
(*    License, or  any later version.                                            *)
(*                                                                               *)
(*    This program is distributed in the hope that it will be useful,            *)
(*    but WITHOUT ANY WARRANTY; without even the implied warranty of             *)
(*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *)
(*    GNU Library General Public License for more details.                       *)
(*                                                                               *)
(*    You should have received a copy of the GNU Library General Public          *)
(*    License along with this program; if not, write to the Free Software        *)
(*    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA                   *)
(*    02111-1307  USA                                                            *)
(*                                                                               *)
(*    Contact: Maxence.Guesdon@inria.fr                                          *)
(*                                                                               *)
(*********************************************************************************)


let bin_dir = "/usr/bin"
let lib_dir = "/usr/lib/ocaml/3.10.2/cameleon"
let man_dir = "/usr/share/man"
let templates_dir = "/usr/share/cameleon/templates"
let plugins_dir = "/usr/share/cameleon/plugins"
let pixmaps_dir = "/usr/share/cameleon/pixmaps"
let glade_dir = "/usr/share/cameleon/glade"
let glade_file = Filename.concat glade_dir "cameleon.glade"
let lablgtk2_dir = "/usr/lib/ocaml/3.10.2/lablgtk2"
let pcre_dir = "/usr/lib/ocaml/3.10.2/pcre"

let languages_specs_dir = "/usr/share/cameleon/language-specs"

let software = "Cameleon"
let software_version = "1.9.18.595"

let dbforge_gui = Filename.concat bin_dir "dbforge2.gui.x"
let report_gui = Filename.concat bin_dir "report2.gui.x"

let home =
  try Sys.getenv "HOME"
  with Not_found -> ""

let rc_dir =
  let d = Filename.concat home ".cameleon2" in
  let _ =
    try (* A VOIR avec le CDK Unix2.safe_mkdir *) Unix.mkdir d 0o700
    with _ -> ()
  in
  d
(* shut up autconf: @datarootdir@ *)