mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 10:30:04 +01:00
po: make dist depend on update-po
This works around a race condition with gettext Makefile. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1094#note_1435313
This commit is contained in:
parent
19a6affd3a
commit
978d8eb699
2 changed files with 4 additions and 1 deletions
|
|
@ -20,6 +20,9 @@ fi
|
||||||
|
|
||||||
do_clean() {
|
do_clean() {
|
||||||
git clean -fdx
|
git clean -fdx
|
||||||
|
# "make -C update-po", run on "make dist" has a silly habit of
|
||||||
|
# modifying files in-tree. Lets undo that.
|
||||||
|
git checkout -- po/
|
||||||
}
|
}
|
||||||
|
|
||||||
uname -a
|
uname -a
|
||||||
|
|
|
||||||
|
|
@ -75,4 +75,4 @@ PO_DEPENDS_ON_POT = no
|
||||||
# regenerate PO files on "make dist". Possible values are "yes" and
|
# regenerate PO files on "make dist". Possible values are "yes" and
|
||||||
# "no". Set this to no if the POT file and PO files are maintained
|
# "no". Set this to no if the POT file and PO files are maintained
|
||||||
# externally.
|
# externally.
|
||||||
DIST_DEPENDS_ON_UPDATE_PO = no
|
DIST_DEPENDS_ON_UPDATE_PO = yes
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue