autobuild 1.2.12 → 1.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/autobuild.rb +1 -1
- data/lib/autobuild/packages/cmake.rb +2 -2
- data/lib/autobuild/packages/orogen.rb +5 -2
- metadata +1 -1
data/lib/autobuild.rb
CHANGED
@@ -72,7 +72,7 @@ module Autobuild
|
|
72
72
|
all_defines['CMAKE_INSTALL_PREFIX'] = prefix
|
73
73
|
|
74
74
|
if !File.exists?( File.join(builddir, 'Makefile') )
|
75
|
-
FileUtils.
|
75
|
+
FileUtils.rm_f configurestamp
|
76
76
|
end
|
77
77
|
|
78
78
|
if File.exists?(configurestamp)
|
@@ -96,7 +96,7 @@ module Autobuild
|
|
96
96
|
if Autobuild.debug
|
97
97
|
puts "CMake configuration changed, forcing a reconfigure"
|
98
98
|
end
|
99
|
-
FileUtils.
|
99
|
+
FileUtils.rm_f configurestamp
|
100
100
|
end
|
101
101
|
end
|
102
102
|
end
|
@@ -18,9 +18,12 @@ module Autobuild
|
|
18
18
|
@orogen_file ||= "#{File.basename(name)}.orogen"
|
19
19
|
|
20
20
|
# Find out where orogen is, and make sure the configurestamp depend
|
21
|
-
# on it
|
21
|
+
# on it. Ignore if orogen is too old to have a --base-dir option
|
22
22
|
orogen_root = File.join(`orogen --base-dir`.chomp, 'orogen')
|
23
|
-
|
23
|
+
if !orogen_root.empty?
|
24
|
+
file genstamp => Autobuild.source_tree(orogen_root)
|
25
|
+
end
|
26
|
+
|
24
27
|
file configurestamp => genstamp
|
25
28
|
file genstamp => File.join(srcdir, orogen_file) do
|
26
29
|
regen
|