I suggest to use a makefile to simplify rebar, that's (incomplete) mine,
you can find better ones on internet :
Keep in mind that Yaws supports both rebar-based builds and autoconf/configure/make builds. There's already a Makefile in place to support the latter. We could add a Makefile.rebar, I suppose, but people would have to remember to run "make -f Makefile.rebar" in that case.