From 11484467725be5d698ee54dc1b9823d602503e05 Mon Sep 17 00:00:00 2001 From: Thomas Moulard <thomas.moulard@gmail.com> Date: Fri, 31 Dec 2010 20:41:39 +0100 Subject: [PATCH] Install dynamic-graph scripts. --- CMakeLists.txt | 1 + share/CMakeLists.txt | 24 +++++++++++++++++++ .../{scripts => script}/shell.dg | 0 .../{scripts => script}/tracer.dg | 0 4 files changed, 25 insertions(+) create mode 100644 share/CMakeLists.txt rename share/dynamic-graph/{scripts => script}/shell.dg (100%) rename share/dynamic-graph/{scripts => script}/tracer.dg (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index f80b1e0..9325f83 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,7 @@ ADD_SUBDIRECTORY(include) ADD_SUBDIRECTORY(tools) ADD_SUBDIRECTORY(doc) ADD_SUBDIRECTORY(tests) +ADD_SUBDIRECTORY(share) SETUP_PROJECT_FINALIZE() SETUP_PROJECT_CPACK() \ No newline at end of file diff --git a/share/CMakeLists.txt b/share/CMakeLists.txt new file mode 100644 index 0000000..262458b --- /dev/null +++ b/share/CMakeLists.txt @@ -0,0 +1,24 @@ +# Copyright 2010, Olivier Stasse, JRL, CNRS/AIST +# +# This file is part of dynamic-graph. +# dynamic-graph is free software: you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# dynamic-graph is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Lesser Public License for more details. You should have +# received a copy of the GNU Lesser General Public License along with +# dynamic-graph. If not, see <http://www.gnu.org/licenses/>. + +# Install dynamic-graph scripts. +INSTALL(FILES + + dynamic-graph/script/shell.dg + dynamic-graph/script/tracer.dg + + DESTINATION share/dynamic-graph/script + PERMISSIONS OWNER_READ GROUP_READ WORLD_READ OWNER_WRITE + ) diff --git a/share/dynamic-graph/scripts/shell.dg b/share/dynamic-graph/script/shell.dg similarity index 100% rename from share/dynamic-graph/scripts/shell.dg rename to share/dynamic-graph/script/shell.dg diff --git a/share/dynamic-graph/scripts/tracer.dg b/share/dynamic-graph/script/tracer.dg similarity index 100% rename from share/dynamic-graph/scripts/tracer.dg rename to share/dynamic-graph/script/tracer.dg -- GitLab