lib/autobuild/packages/autotools.rb in autobuild-0.6 vs lib/autobuild/packages/autotools.rb in autobuild-0.6.2
- old
+ new
@@ -51,10 +51,11 @@
# successfully built for the last time. The path is absolute
def buildstamp; "#{builddir}/#{name}-#{STAMPFILE}" end
def initialize(options)
@using = Hash.new
+ @configureflags = []
super
Autobuild.update_environment(prefix)
end
@@ -91,10 +92,10 @@
file "#{builddir}/config.status" => regen do
ensure_dependencies_installed
configure
end
- source_tree srcdir, builddir
+ source_tree srcdir, /^#{Regexp.quote(builddir)}/
file buildstamp => [ srcdir, "#{builddir}/config.status" ] do
ensure_dependencies_installed
build
end