From: Karel Zak Date: Wed, 22 Jan 2025 19:25:20 +0000 (+0100) Subject: po-man: fix 'make dist' X-Git-Tag: v2.42-start~47^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64a39f0f6f4753f88af0c4f907a14e7d9f28a5ba;p=thirdparty%2Futil-linux.git po-man: fix 'make dist' Signed-off-by: Karel Zak --- diff --git a/Makefile.am b/Makefile.am index daf230548..8ea3eb16e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ diff --git a/po-man/Makemodule.am b/po-man/Makemodule.am index b0c3c145a..1805daf05 100644 --- a/po-man/Makemodule.am +++ b/po-man/Makemodule.am @@ -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