cmake: supress 'Set runtime path of' noise while generatig deb packages 59/16959/2
authorDamjan Marion <damarion@cisco.com>
Tue, 22 Jan 2019 10:14:46 +0000 (11:14 +0100)
committerNeale Ranns <nranns@cisco.com>
Tue, 22 Jan 2019 10:59:26 +0000 (10:59 +0000)
Change-Id: Ib8ddce2d56034152a390ca2d3b9784673a77d2e3
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/pkg/debian/rules.in

index f1917e6..0351ee5 100755 (executable)
@@ -28,7 +28,8 @@ override_dh_install:
            -D CMAKE_INSTALL_CONFIG_NAME=@CMAKE_BUILD_TYPE@ \
            -D CMAKE_INSTALL_COMPONENT=$$c \
            -D CMAKE_INSTALL_PREFIX=@CMAKE_BINARY_DIR@/debian/$$c \
-           -P @CMAKE_BINARY_DIR@/cmake_install.cmake ; \
+           -P @CMAKE_BINARY_DIR@/cmake_install.cmake 2>&1 \
+           | grep -v 'Set runtime path of' ; \
          if [ -d debian/$$c/lib ] ; then \
            mv debian/$$c/lib debian/$$c/$(DEB_HOST_MULTIARCH) ; \
            mkdir -p debian/$$c/usr/lib ; \