lib/autobuild/packages/genom.rb in autobuild-1.4.9 vs lib/autobuild/packages/genom.rb in autobuild-1.5.0
- old
+ new
@@ -24,13 +24,15 @@
# Called before running the rake tasks and
# after all imports have been made
def prepare
genomflags.flatten!
+ get_requires
super
- get_requires
+
+ file genomstamp => dependencies.map { |p| Package[p].installstamp }
end
# The file touched by genom on successful generation
def genomstamp; File.join(srcdir, '.genom', 'genom-stamp') end
@@ -83,14 +85,9 @@
$1.split(/\s+/).each { |pkg| provides pkg }
end
}
end
end
-
- def depends_on(*packages)
- super
- file genomstamp => packages.map { |p| Package[p].installstamp }
- end
# Make the genom-stamp file depend on
# * genom includes
# * genom canvas
# * the genom binary itself