Makefile: Fix PO template generation dependencies
*2po tools need the npm modules installed.
This commit is contained in:
parent
fcab193597
commit
180dde395e
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -38,10 +38,10 @@ po/POTFILES.html.in:
|
||||||
mkdir -p $(dir $@)
|
mkdir -p $(dir $@)
|
||||||
find src -name '*.html' > $@
|
find src -name '*.html' > $@
|
||||||
|
|
||||||
po/$(PACKAGE_NAME).html.pot: po/POTFILES.html.in
|
po/$(PACKAGE_NAME).html.pot: po/POTFILES.html.in $(NODE_MODULES_TEST)
|
||||||
po/html2po -f $^ -o $@
|
po/html2po -f $^ -o $@
|
||||||
|
|
||||||
po/$(PACKAGE_NAME).manifest.pot:
|
po/$(PACKAGE_NAME).manifest.pot: $(NODE_MODULES_TEST)
|
||||||
po/manifest2po src/manifest.json -o $@
|
po/manifest2po src/manifest.json -o $@
|
||||||
|
|
||||||
po/$(PACKAGE_NAME).pot: po/$(PACKAGE_NAME).html.pot po/$(PACKAGE_NAME).js.pot po/$(PACKAGE_NAME).manifest.pot
|
po/$(PACKAGE_NAME).pot: po/$(PACKAGE_NAME).html.pot po/$(PACKAGE_NAME).js.pot po/$(PACKAGE_NAME).manifest.pot
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue