aboutsummaryrefslogtreecommitdiffstats
path: root/deb
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-21 09:31:13 +0000
committerRonan Le Martret <ronan.lemartret@iot.bzh>2017-06-21 17:04:13 +0200
commitff516d186889808ff61358c6ea8f88662401acaa (patch)
tree582e78fd34efe6ab711e84c5eafbcdfd3e56e8cd /deb
parent0daaff3b597af4e656c8cd274c28a46d70e88963 (diff)
Configure file at build time with separated target
Change-Id: I0464897b830e926bb173c9b80ef7682ff47ecb5b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'deb')
-rw-r--r--deb/debian.rules.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/deb/debian.rules.in b/deb/debian.rules.in
index 693bba4..6bb2825 100644
--- a/deb/debian.rules.in
+++ b/deb/debian.rules.in
@@ -51,9 +51,9 @@ install: build
mkdir -p debian/tmp/etc/profile.d
echo '#---------- AGL @PROJECT_NAME@ options Start ---------" ' > debian/tmp/etc/profile.d/AGL_@PROJECT_NAME@.sh
echo '# Object: AGL cmake option for binder/bindings' >> debian/tmp/etc/profile.d/AGL_@PROJECT_NAME@.sh
- echo 'export LD_LIBRARY_PATH=/opt/AGL/@PROJECT_NAME@/lib/$(DEB_HOST_MULTIARCH):${LD_LIBRARY_PATH}' >> debian/tmp/etc/profile.d/AGL_@PROJECT_NAME@.sh
- echo 'export LIBRARY_PATH=/opt/AGL/@PROJECT_NAME@/lib/$(DEB_HOST_MULTIARCH):${LIBRARY_PATH}' >> debian/tmp/etc/profile.d/AGL_@PROJECT_NAME@.sh
- echo 'export PATH=/opt/AGL/@PROJECT_NAME@/AGL/bin:\$PATH' >> debian/tmp/etc/profile.d/AGL_@PROJECT_NAME@.sh
+ echo 'export LD_LIBRARY_PATH=/opt/AGL/@PROJECT_NAME@/lib/$(DEB_HOST_MULTIARCH):$$LD_LIBRARY_PATH' >> debian/tmp/etc/profile.d/AGL_@PROJECT_NAME@.sh
+ echo 'export LIBRARY_PATH=/opt/AGL/@PROJECT_NAME@/lib/$(DEB_HOST_MULTIARCH):$$LIBRARY_PATH' >> debian/tmp/etc/profile.d/AGL_@PROJECT_NAME@.sh
+ echo 'export PATH=/opt/AGL/@PROJECT_NAME@/bin:$$PATH' >> debian/tmp/etc/profile.d/AGL_@PROJECT_NAME@.sh
echo '#---------- AGL options End ---------' >> debian/tmp/etc/profile.d/AGL_@PROJECT_NAME@.sh
# Move all files in their corresponding package
dh_install --list-missing -s --sourcedir=debian/tmp