From ecce1c4c170ba56c488dddd46a10d109ed945810 Mon Sep 17 00:00:00 2001 From: methylDragon Date: Wed, 22 Jun 2022 12:14:40 -0700 Subject: [PATCH] CMake Project Rename : Update install rules (#8) --- ubuntu/debian/libignition-msgs-dev.install | 10 +++++----- ubuntu/debian/tests/build | 16 ++++++++-------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/ubuntu/debian/libignition-msgs-dev.install b/ubuntu/debian/libignition-msgs-dev.install index 6fd0952..f2772d6 100644 --- a/ubuntu/debian/libignition-msgs-dev.install +++ b/ubuntu/debian/libignition-msgs-dev.install @@ -1,9 +1,9 @@ usr/include/* usr/lib/*/*.so usr/lib/*/pkgconfig/*.pc -usr/lib/*/cmake/ignition-msgs*/* -usr/share/ignition/* -usr/lib/ruby/gz/*.rb -usr/lib/*/ruby/ignition/msgs[0-99]/* +usr/lib/*/cmake/*-msgs*/* +usr/share/*/* +usr/lib/ruby/*/*.rb +usr/lib/*/ruby/*/msgs[0-99]/* usr/lib/*/ruby/gz/msgs[0-99]/* -usr/share/ignition/ignition-msgs*/ignition-msgs[0-9].tag.xml +usr/share/*/*-msgs*/*-msgs[0-9].tag.xml diff --git a/ubuntu/debian/tests/build b/ubuntu/debian/tests/build index 65b1f77..67b2344 100755 --- a/ubuntu/debian/tests/build +++ b/ubuntu/debian/tests/build @@ -1,5 +1,5 @@ #!/bin/sh -# autopkgtest check: Build and run a program against ign-msgs, to verify that the +# autopkgtest check: Build and run a program against gz-msgs, to verify that the # headers and pkg-config file are installed correctly # (C) 2012 Jose Luis Rivero # Author: Jose Luis Rivero @@ -9,22 +9,22 @@ set -e WORKDIR=$(mktemp -d) trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM cd $WORKDIR -cat < igntest.c +cat < gztest.c #include -#include +#include int main(int argc, char **argv) { - ignition::msgs::Int32 foo; - ignition::msgs::StringMsg fee; + gz::msgs::Int32 foo; + gz::msgs::StringMsg fee; return 0; } EOF -g++ -o igntest igntest.c `pkg-config --cflags --libs ignition-msgs9` +g++ -o gztest gztest.c `pkg-config --cflags --libs gz-msgs9` echo "build: OK" -[ -x igntest ] -./igntest +[ -x gztest ] +./gztest echo "run: OK"