From 35220693aca26d860ea5f54e5d5c13cf6e0475d6 Mon Sep 17 00:00:00 2001 From: Peter Soetens Date: Fri, 26 Nov 2010 13:20:05 +0100 Subject: [PATCH 3/3] typekit: also symlink from 'typekit' to self This is required when the typekit is stand-alone. Since it's not in a projectname/typekit directory, but in projectname/ directory, we don't know in which of both the .tlb file lives. This symlink assures that we can always access it by looking for projectname/typekit/projectname.tlb Clearly only necessary if we use the typekit prior to installation, like in a ros build. Signed-off-by: Peter Soetens --- lib/orogen/typekit.rb | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/lib/orogen/typekit.rb b/lib/orogen/typekit.rb index e947d14..04bfad7 100644 --- a/lib/orogen/typekit.rb +++ b/lib/orogen/typekit.rb @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- require 'typelib' require 'tempfile' require 'find' @@ -1386,6 +1387,9 @@ module Orocos FileUtils.ln_sf automatic_dir, fake_install_dir end + fake_typekit_dir = File.join(automatic_dir, "typekit") + FileUtils.ln_sf automatic_dir, fake_typekit_dir + # Load any queued file. This must be done before the call # to local_headers below, as the new files will get # registered only after the call -- 1.7.0.4