Porting MIUI using patchrom

May 26, 2013
I'm using Ubuntu to build a miui ROM with patchrom. I'm stuck on the building stage of this process. I type ". build/envsetup.sh", press enter, then press cd (my device folder), hit enter then press make fullota and it gives me a error saying "no rules in make target, Stop". What does my device folder have to contain, and do i have to create one? I'm no noob when it comes to porting, but I'm new to using patchrom. I been at this for weeks. Make is installed. Just lost at to what I'm doing wrong, thanks.