Just for fun
An attempt for creating a simple build-platform for a common BEM project.
The core of the platform is simple (well, no so, actually) GNUmakefile, which is just a set of bem-tools command calls.
$ make
Will build all pages inside pg_prefix
level.
$ make pages/index/
To build one page only with sets of all it's techs, defined as pg_techs
.
$ make pages/index/index.html
To build only one of page's tech.
$ make .jdepend
To generate dependancies for all pages.
Dependancies are just another make files that describe resources page is consist of. For more about concept of auto-dependancies generation read http://www.gnu.org/software/make/manual/make.html#Automatic-Prerequisites.
Dependancies are generated with custom d.js tech (see tools/techs/d.js
for code).
$ make clean
Clean pages
level from all auto generated content.