From: Karel Zak Date: Mon, 17 Feb 2025 19:40:43 +0000 (+0100) Subject: autotools: fix po-man discheck X-Git-Tag: v2.42-start~29^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef8eea26031cbe6980bddb281e5e0ebbae60b8ab;p=thirdparty%2Futil-linux.git autotools: fix po-man discheck Signed-off-by: Karel Zak --- diff --git a/Makefile.am b/Makefile.am index f5d92e44a..479c898a5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -82,6 +82,7 @@ CHECK_LOCALS = EXTRA_DIST = CLEANFILES = +DISTCLEANFILES = SUBDIRS = po diff --git a/po-man/Makemodule.am b/po-man/Makemodule.am index 7fac572d2..fda6d10d6 100644 --- a/po-man/Makemodule.am +++ b/po-man/Makemodule.am @@ -5,6 +5,8 @@ EXTRA_DIST += po-man/README.md \ po-man/util-linux-man.pot \ $(POMAN_PO_FILES) +DISTCLEANFILES += po-man/util-linux-man.pot $(POMAN_PO_FILES) + if ENABLE_ASCIIDOC if ENABLE_POMAN @@ -35,7 +37,7 @@ gen-poman-dist: @echo "Updating po-man PO and POT files" @$(PO4A) --no-translations --force \ --srcdir '$(abs_srcdir)/po-man' \ - --destdir '$(abs_srcdir)/po-man' \ + --destdir '$(abs_builddir)/po-man' \ '$(abs_srcdir)/po-man/po4a.cfg' gen-poman: $(PO_STAMPS)