diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-06-21 09:31:13 +0000 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:47 +0200 |
commit | 61fb86f72ffc2b9eb058d6e83d270480ae8db6bb (patch) | |
tree | 7a3a88cde005e18c934676f43b1612231773d0ac /deb/debian.rules.in | |
parent | e48460055b2673733ac12bdb15dde2c6e2e4eb26 (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/debian.rules.in')
-rw-r--r-- | deb/debian.rules.in | 6 |
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 |