bem/bem-method — Issue #80: GNUmakefile to build pages
Author: toivonen
Created: 2011-12-17 10:43:53+00:00
State: open

Write a GNUmakefile that does:

* build every page
the commaind is ```make pages/beginning```
Building a page starts from .wiki file for every locale (we have .en.wiki and .ru.wiki now).
*.(en|ru).wiki transforms into *.(ru|en).bemjson.js by lib/wiki2nemjson.js
Then:
* bemjson,js -> bemdecl.js
* bemdecl.js -> deps.js
* deps.js -> bemhtml.js
* bemhtml.js + bemjson.js -> *.html
* deps.js -> *.js
* deps.js -> *.css
* *.css -> _*.css (by borchik)
* build all pages
* get (and update) bem-bl folder
* do all targets

GNUmakefile that do transformations from wiki to html is already in repo. It is just not very convinient. It needs to be refactored.