From 61fb86f72ffc2b9eb058d6e83d270480ae8db6bb Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 21 Jun 2017 09:31:13 +0000 Subject: Configure file at build time with separated target Change-Id: I0464897b830e926bb173c9b80ef7682ff47ecb5b Signed-off-by: Romain Forlot Signed-off-by: Ronan Le Martret --- deb/debian.rules.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'deb') 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 -- cgit 1.2.3-korg