]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
autotools: fix po-man discheck
authorKarel Zak <kzak@redhat.com>
Mon, 17 Feb 2025 19:40:43 +0000 (20:40 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Feb 2025 19:45:01 +0000 (20:45 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
Makefile.am
po-man/Makemodule.am

index f5d92e44a68cffca7bb0e096a5131ac2e42e4353..479c898a5c5ef21e7e023462826ca6c3b736fe1e 100644 (file)
@@ -82,6 +82,7 @@ CHECK_LOCALS =
 
 EXTRA_DIST =
 CLEANFILES =
+DISTCLEANFILES =
 
 SUBDIRS = po
 
index 7fac572d26c3d865fd4284995b108b17827d3db1..fda6d10d6886c622c1f50de9df8a2517f43c67fc 100644 (file)
@@ -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)