~ubuntu-branches/ubuntu/wily/marionnet/wily

« back to all changes in this revision

Viewing changes to CONFIGME

  • Committer: Package Import Robot
  • Author(s): Lucas Nussbaum
  • Date: 2013-03-29 15:57:12 UTC
  • Revision ID: package-import@ubuntu.com-20130329155712-o0b9b96w8av68ktq
Tags: upstream-0.90.6+bzr407
Import upstream version 0.90.6+bzr407

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This -*- sh -*- script is part of our reusable OCaml BRICKS library
 
2
# Copyright (C) 2008 2011  Luca Saiu
 
3
# Copyright (C) 2008 2012  Jean-Vincent Loddo
 
4
 
 
5
# This program is free software: you can redistribute it and/or modify
 
6
# it under the terms of the GNU General Public License as published by
 
7
# the Free Software Foundation, either version 2 of the License, or
 
8
# (at your option) any later version.
 
9
 
 
10
# This program is distributed in the hope that it will be useful,
 
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
# GNU General Public License for more details.
 
14
 
 
15
# You should have received a copy of the GNU General Public License
 
16
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
 
 
18
 
 
19
###########################################################################
 
20
###########################################################################
 
21
# This file should be hand-edited at configuration time, before compiling.
 
22
###########################################################################
 
23
###########################################################################
 
24
 
 
25
###########################################################################
 
26
# Section 1: Configuration choices
 
27
###########################################################################
 
28
 
 
29
# (this section is empty for ocamlbricks).
 
30
 
 
31
###########################################################################
 
32
# Section 2: Installation setup: prefixes, and the like
 
33
###########################################################################
 
34
 
 
35
# Installation prefix, for example /usr or /usr/local
 
36
# *No* trailing slash should be included.
 
37
prefix=/usr/local
 
38
 
 
39
# Prefix for host-wide configuration files; you should probably keep the
 
40
# default setting:
 
41
configurationprefix=/etc
 
42
 
 
43
# Prefix for the locale files
 
44
localeprefix=${prefix}/share/locale
 
45
 
 
46
# Prefix for documentation files; you should probably keep the
 
47
# default setting:
 
48
documentationprefix=${prefix}/share/doc
 
49
 
 
50
# Location of the standard Ocaml libraries required to compile
 
51
# and link the project.
 
52
# *No* trailing slash should be included.
 
53
ocaml_libraryprefix=$(ocamlc -where || exit -1)
 
54
#
 
55
#ocaml_libraryprefix=/mystrangepath
 
56
 
 
57
# Installation prefix for OCaml libraries built by the project.
 
58
# By default they will be installed into ${ocaml_libraryprefix}, but you
 
59
# can change it if you really want to install into a different, custom prefix.
 
60
# *No* trailing slash should be included.
 
61
libraryprefix=${ocaml_libraryprefix}
 
62
#
 
63
# This definition may be appropriate for debian packaging:
 
64
#libraryprefix=debian/tmp/${ocaml_libraryprefix}
 
65
 
 
66
# This should be defined as the absolute path to a directory containing
 
67
# the already configured OCaml source; in alternative, is your GNU/Linux
 
68
# distribution packages OCaml headers (debian and its offspring install
 
69
# headers in /usr/include/caml), you can set this to the full path of
 
70
# the directory containing OCaml headers.
 
71
ocaml_sources=${ocaml_libraryprefix}/caml
 
72
#
 
73
# This definition is appropriate for debian-like distributions:
 
74
#ocaml_sources=/usr/include/caml
 
75
#
 
76
# This is reasonable if you have downloaded and configured the OCaml
 
77
# sources yourself, somewhere:
 
78
#ocaml_sources=/home/luca/projects-by-others/ocaml-3.11.2
 
79
 
 
80
###########################################################################
 
81
# Section 3: Default configuration. This will end up in /etc/$name at
 
82
# installation time, providing the default host configuration for this
 
83
# package. Individual users can still override defaults by defining their
 
84
# own ~/.$name customization file.