diff options
author | Craig Small <csmall@dropbear.xyz> | 2021-01-21 21:58:48 +1100 |
---|---|---|
committer | Craig Small <csmall@dropbear.xyz> | 2021-01-21 21:58:48 +1100 |
commit | e0e88bc0565aae044256b1c93d006417d4c664b6 (patch) | |
tree | dadc82d7122f39cc5b365f22392e7393d39fdb9b | |
parent | e780a60e05ece8b3b54ef00998fc77104954bbee (diff) | |
download | procps-ng-e0e88bc0565aae044256b1c93d006417d4c664b6.tar.gz |
build-sys: One more man-po build fix
-rw-r--r-- | man-po/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/man-po/Makefile.am b/man-po/Makefile.am index 240ef4b..97f111a 100644 --- a/man-po/Makefile.am +++ b/man-po/Makefile.am @@ -35,7 +35,9 @@ EXTRA_DIST = po4a.cfg \ procps-man.pot \ $(translated_MANS) -LINGUAS_DIST=$(subst .po,,$(wildcard $(srcdir)/*.po)) +# Extract the list of languages from the po4a config file. +LINGUAS_DIST = $(shell sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' $(srcdir)/po4a.cfg) + # If the user has not defined it let's use the default. LINGUAS ?= $(LINGUAS_DIST) |