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.
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