summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Nussbaum <lucas@debian.org>2013-02-12 19:46:50 +0100
committerLucas Nussbaum <lucas@debian.org>2017-10-30 23:05:33 +0100
commitd9edd0d6cff16a07f62bc99aa026406cd36ac4da (patch)
tree7943a416504ed215231a15e65a628567bf6f5fe8
parenta0641ef5080f8200982575489f083dfb8257d9a3 (diff)
Use the Debian prefix for building
This configures the build to use debian/tmp as prefix for installation Forwarded: not-needed Gbp-Pq: Name 0002-Use-the-Debian-prefix-for-building.patch
-rw-r--r--CONFIGME12
1 files changed, 6 insertions, 6 deletions
diff --git a/CONFIGME b/CONFIGME
index 96ecf91..f80b6a5 100644
--- a/CONFIGME
+++ b/CONFIGME
@@ -35,7 +35,7 @@
# Run-time prefix, where resources will be really installed and available
# when the software will be launched. Examples are /usr or /usr/local.
# *No* trailing slash should be included.
-prefix=/usr/local
+prefix=${DESTDIR:-debian/tmp}
# Prefix for temporary or final installation; you should probably keep the
# default setting, which is ${prefix}. This variable has been introduced to
@@ -45,7 +45,7 @@ prefix_install=${prefix}
# Prefix for host-wide configuration files; you should probably keep the
# default setting:
-configurationprefix=/etc
+configurationprefix=${prefix}/etc
# Prefix for the locale files (at run-time)
localeprefix=${prefix}/share/locale
@@ -69,12 +69,12 @@ ocaml_libraryprefix=$(ocamlc -where || exit -1)
# library or into ${ocaml_libraryprefix}, but you can change it if you really
# want to install into a different, custom prefix.
# *No* trailing slash should be included.
-libraryprefix=$(which 1>/dev/null ocamlfind && ocamlfind query lablgtk2)
-libraryprefix=${libraryprefix%/lablgtk2}
-libraryprefix=${libraryprefix:-$ocaml_libraryprefix}
+#libraryprefix=$(which 1>/dev/null ocamlfind && ocamlfind query lablgtk2)
+#libraryprefix=${libraryprefix%/lablgtk2}
+#libraryprefix=${libraryprefix:-$ocaml_libraryprefix}
#
# This definition may be appropriate for debian packaging:
-#libraryprefix=debian/tmp/${ocaml_libraryprefix}
+libraryprefix=${prefix}/${ocaml_libraryprefix}
# This should be defined as the absolute path to a directory containing
# the already configured OCaml source; in alternative, is your GNU/Linux