From 5e8fa0604363ba582a64a54bdc577d60ae287888 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Sun, 14 Mar 2021 07:39:04 +0900 Subject: [PATCH] LDP: Fix perkamon/Makefile After PO4a_SUBDIRS started to be initialized using "wildcard" marco, po4a/add_ja was included unintentionally after "make jm-setup" is done. To avoid this, this commit changes the wildcard pattern to check po4a config files. Note that paths returned by "notdir" macro end with a slash so "patsubst" macro is required to drop the trailing slash. --- manual/LDP_man-pages/perkamon/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/LDP_man-pages/perkamon/Makefile b/manual/LDP_man-pages/perkamon/Makefile index f11faa15..25428258 100644 --- a/manual/LDP_man-pages/perkamon/Makefile +++ b/manual/LDP_man-pages/perkamon/Makefile @@ -9,7 +9,7 @@ PO4AFLAGS ?= -k 100 LANGS ?= WORK_DIR ?= . UTF8_LOCALE ?= en_US.UTF-8 -PO4A_SUBDIRS ?= $(EXTRA_PO4A_SUBDIRS) $(sort $(notdir $(wildcard po4a/*))) +PO4A_SUBDIRS ?= $(EXTRA_PO4A_SUBDIRS) $(sort $(patsubst %.cfg, %, $(notdir $(wildcard po4a/*/*.cfg)))) all: translate -- 2.11.0