mirror of https://gitlab.com/ita1024/waf.git
Update the intltool docs
This commit is contained in:
parent
fe2f2b4fe6
commit
c26506afc5
|
@ -4,13 +4,16 @@ from waflib import Utils
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
|
|
||||||
if bld.cmd == 'install':
|
def post_update(bld):
|
||||||
try:
|
try:
|
||||||
bld.exec_command(["update-mime-database", Utils.subst_vars("${DATADIR}/mime", bld.env)])
|
bld.exec_command(["update-mime-database", Utils.subst_vars("${DATADIR}/mime", bld.env)])
|
||||||
bld.exec_command(["update-desktop-database", Utils.subst_vars("${DATADIR}/applications", bld.env)])
|
bld.exec_command(["update-desktop-database", Utils.subst_vars("${DATADIR}/applications", bld.env)])
|
||||||
except:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
if bld.cmd == 'install':
|
||||||
|
bld.add_post_fun(post_update)
|
||||||
|
|
||||||
bld(
|
bld(
|
||||||
features = "intltool_in",
|
features = "intltool_in",
|
||||||
podir = "../po",
|
podir = "../po",
|
||||||
|
|
Loading…
Reference in New Issue