From: Thomas Weißschuh Date: Fri, 6 Jan 2023 14:54:14 +0000 (+0000) Subject: po-man: enable out of tree builds X-Git-Tag: v2.39-rc1~176^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c56fa950e82eb70a8216caa4df54d186d0bab78;p=thirdparty%2Futil-linux.git po-man: enable out of tree builds --- diff --git a/po-man/Makefile.am b/po-man/Makefile.am index 99c22aa929..ea9103877e 100644 --- a/po-man/Makefile.am +++ b/po-man/Makefile.am @@ -14,7 +14,7 @@ util-linux-man.pot: Makefile po4a-gen.stamp: $(PO_FILES) @echo 'po4a: generate man-pages translations' - $(AM_V_GEN) $(PO4A) po4a.cfg + $(AM_V_GEN) $(PO4A) --srcdir $(srcdir) $(srcdir)/po4a.cfg @touch po4a-gen.stamp # We need to call po4a --force only on 'make dist', otherwise .po and .pot @@ -24,7 +24,7 @@ po4a-gen.stamp: $(PO_FILES) # only. util-linux-man.pot: @echo 'po4a: force pot-update' - $(AM_V_GEN) $(PO4A) --force po4a.cfg + $(AM_V_GEN) $(PO4A) --force --srcdir $(srcdir) $(srcdir)/po4a.cfg gen-trans: $(PO_STAMPS)