t = "thumbnail"

recipe  :all			, "result.html"

recipe  "result.html"		, "#{t}.rbx", "#{t}.view"		do |r|
	cmd "ruby #{t}.rbx > result.html"
	end

recipe  "#{t}.view"		, "#{t}.html", "#{t}.plogic"		do |r|
	cmd "kwartz -l eruby -p #{t}.plogic #{t}.html > #{t}.view"
	end

recipe  :clear								do |r|
	rm_rf "result.html", "#{t}.view"
	end

recipe  :default		, :all
