
t = 'recipes'
all = %w[list.rhtml show.rhtml new.rhtml edit.rhtml]

recipe  :all			, all

grecipe  "*.rhtml"		, "{1}.html", "{1}.plogic",  \
			 	  "#{t}.html", "#{t}.plogic"	do |r|
	cmd "kwartz -Rails -p #{t}.plogic,{1}.plogic -e -i {1}.html #{t}.html > {1}.rhtml"
	end

recipe  :clear								do |r|
	rm_rf all
	end

recipe	:default		, :all
