|
@@ -11,7 +11,7 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) ./d
|
|
# the i18n builder cannot share the environment and doctrees with the others
|
|
# the i18n builder cannot share the environment and doctrees with the others
|
|
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) ./docs/source
|
|
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) ./docs/source
|
|
|
|
|
|
-.PHONY: all help clean html epub changes linkcheck gettext po pot po2json merge release css
|
|
|
|
|
|
+.PHONY: all help clean html epub changes linkcheck gettext po pot po2json merge release css minjs
|
|
|
|
|
|
all: dev
|
|
all: dev
|
|
|
|
|
|
@@ -45,6 +45,12 @@ po2json:
|
|
########################################################################
|
|
########################################################################
|
|
## Release management
|
|
## Release management
|
|
|
|
|
|
|
|
+minjs:
|
|
|
|
+ ./node_modules/requirejs/bin/r.js -o src/build.js && ./node_modules/requirejs/bin/r.js -o src/build-no-locales-no-otr.js && ./node_modules/requirejs/bin/r.js -o src/build-no-otr.js
|
|
|
|
+
|
|
|
|
+mincss:
|
|
|
|
+ grunt cssmin
|
|
|
|
+
|
|
release:
|
|
release:
|
|
sed -i s/\"version\":\ \"[0-9]\.[0-9]\.[0-9]\"/\"version\":\ \"$(VERSION)\"/ bower.json
|
|
sed -i s/\"version\":\ \"[0-9]\.[0-9]\.[0-9]\"/\"version\":\ \"$(VERSION)\"/ bower.json
|
|
sed -i s/\"version\":\ \"[0-9]\.[0-9]\.[0-9]\"/\"version\":\ \"$(VERSION)\"/ package.json
|
|
sed -i s/\"version\":\ \"[0-9]\.[0-9]\.[0-9]\"/\"version\":\ \"$(VERSION)\"/ package.json
|