Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Odoo scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo scripts
Commits
4d3913ef
Commit
4d3913ef
authored
5 years ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
add command to update po file in Makefile
parent
d6fd433f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/Makefile
+8
-2
8 additions, 2 deletions
doc/Makefile
with
8 additions
and
2 deletions
doc/Makefile
+
8
−
2
View file @
4d3913ef
...
...
@@ -7,4 +7,5 @@
SPHINXBUILD
?=
sphinx-build
SOURCEDIR
=
.
BUILDDIR
=
_build
LANGUAGE
?=
en
...
...
@@ -10,7 +11,7 @@
LANGUAGE
?=
e
n
.PHONY
:
help Makefile gettext update_locale clea
n
# Put it first so that "make" without argument is like "make help".
help
:
@$(
SPHINXBUILD
)
-M
help
"
$(
SOURCEDIR
)
"
"
$(
BUILDDIR
)
/
$(
LANGUAGE
)$(
BUILDDIRSUFFIX
)
"
$(
SPHINXOPTS
)
$(
O
)
...
...
@@ -12,10 +13,11 @@
# Put it first so that "make" without argument is like "make help".
help
:
@$(
SPHINXBUILD
)
-M
help
"
$(
SOURCEDIR
)
"
"
$(
BUILDDIR
)
/
$(
LANGUAGE
)$(
BUILDDIRSUFFIX
)
"
$(
SPHINXOPTS
)
$(
O
)
.PHONY
:
help Makefile gettext
clean
:
rm
-rf
$(
BUILDDIR
)
/
*
gettext
:
Makefile
@$(
SPHINXBUILD
)
-M
$@
"
$(
SOURCEDIR
)
"
"
$(
BUILDDIR
)$(
BUILDDIRSUFFIX
)
"
$(
SPHINXOPTS
)
$(
O
)
...
...
@@ -18,7 +20,11 @@
gettext
:
Makefile
@$(
SPHINXBUILD
)
-M
$@
"
$(
SOURCEDIR
)
"
"
$(
BUILDDIR
)$(
BUILDDIRSUFFIX
)
"
$(
SPHINXOPTS
)
$(
O
)
# used to update *.po files
update_locale
:
Makefile gettext
@
sphinx-intl update
-p
"
$(
BUILDDIR
)$(
BUILDDIRSUFFIX
)
/gettext"
-l
fr
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%
:
Makefile
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment