t = "calendar"

recipe  :all		, "result.html"

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

grecipe "*.view"	, "{1}.html", "{1}.plogic"			do |r|
	cmd "kwartz -p {1}.plogic {1}.html > {1}.view"
	end

recipe  :clear								do |r|
	remove_rf "result.html", "#{t}-page.view", "#{t}-month.view"
	end

recipe  :default	, :all

