]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
po-man: fix 'make dist'
authorKarel Zak <kzak@redhat.com>
Wed, 22 Jan 2025 19:25:20 +0000 (20:25 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 12 Feb 2025 09:52:47 +0000 (10:52 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
Makefile.am
po-man/Makemodule.am

index daf2305488d5a4b4c2fcee508ee6b4222c526948..8ea3eb16e108b07a06717c7eec014389686d695a 100644 (file)
@@ -139,6 +139,7 @@ EXTRA_DIST += \
        libsmartcols/meson.build \
        text-utils/meson.build \
        po/meson.build \
+       po-man/meson.build \
        lib/meson.build \
        libuuid/meson.build \
        liblastlog2/meson.build \
index b0c3c145a0e68d39ded59f8dbe45018e19224c15..1805daf05661d34bc0bff740dc8dbed8c5d7af7d 100644 (file)
@@ -1,17 +1,17 @@
+
+POMAN_PO_FILES = $(wildcard po-man/*.po)
+EXTRA_DIST += po-man/README.md \
+             po-man/po4a.cfg \
+             po-man/util-linux-man.pot \
+             $(POMAN_PO_FILES)
+
 if ENABLE_ASCIIDOC
 if ENABLE_POMAN
 
 PO_STAMPS = po4a-gen.stamp
-PO_FILES = po-man/$(wildcard *.po)
 
 CLEANFILES += $(PO_STAMPS)
 
-EXTRA_DIST += po-man/README.md \
-             po-man/po4a.cfg \
-             po-man/util-linux-man.pot \
-             $(PO_FILES)
-
-
 asciidoc_poman_translate_cmd = $(abs_srcdir)/tools/poman-translate.sh \
        --progress \
        --srcdir '$(abs_srcdir)/po-man' \
@@ -27,7 +27,7 @@ asciidoc_poman_install_cmd = $(abs_srcdir)/tools/poman-install.sh \
 
 ADOCFILES = $(MANPAGES:=.adoc)
 
-po4a-gen.stamp: $(PO_FILES) $(ADOCFILES_COMMON) $(ADOCFILES)
+po4a-gen.stamp: $(POMAN_PO_FILES) $(ADOCFILES_COMMON) $(ADOCFILES)
        $(asciidoc_poman_translate_cmd) $(ADOCFILES)
        @touch po4a-gen.stamp