mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-06 17:14:02 +00:00
build/autotools: adjust hack for gettext() for other Makefile versions
On rhel-8.7, we use a different gettext version, so the Makefile
looks different. Adjust patch the source.
Fixes: 7ee0da3eaf
('build: don't "update-po" during make dist')
This commit is contained in:
parent
0622ed7051
commit
b2d1d14772
|
@ -176,7 +176,8 @@ endif
|
||||||
# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1405
|
# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1405
|
||||||
po/.Makefile.patched:
|
po/.Makefile.patched:
|
||||||
sed -i \
|
sed -i \
|
||||||
's#^dist2: \$$(srcdir)/stamp-po \$$(DISTFILES)#dist2: \$$(srcdir)/stamp-po\n\t\$$(MAKE) \$$(DISTFILES)#' \
|
-e 's#^dist2: \$$(srcdir)/stamp-po \$$(DISTFILES)#dist2: \$$(srcdir)/stamp-po\n\t\$$(MAKE) \$$(DISTFILES)#' \
|
||||||
|
-e 's#^dist2: stamp-po \$$(DISTFILES)#dist2: stamp-po\n\t\$$(MAKE) \$$(DISTFILES)#' \
|
||||||
"$(builddir)/po/Makefile" && \
|
"$(builddir)/po/Makefile" && \
|
||||||
touch "$(builddir)/po/.Makefile.patched"
|
touch "$(builddir)/po/.Makefile.patched"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue