Commit d66538b3 authored by Valentine Barshak's avatar Valentine Barshak Committed by Peter Korsgaard
Browse files

Makefile: Add /usr/lib/locale to target-purgelocales



Some packages install locales to /usr/lib/locale.
Parse and purge unneeded ones there too.

Signed-off-by: default avatarValentine Barshak <gvaxon@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent abe55df7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -564,7 +564,7 @@ target-purgelocales:
	rm -f $(LOCALE_WHITELIST)
	for i in $(LOCALE_NOPURGE); do echo $$i >> $(LOCALE_WHITELIST); done

	for dir in $(wildcard $(addprefix $(TARGET_DIR),/usr/share/locale /usr/share/X11/locale /usr/man /usr/share/man)); \
	for dir in $(wildcard $(addprefix $(TARGET_DIR),/usr/share/locale /usr/share/X11/locale /usr/man /usr/share/man /usr/lib/locale)); \
	do \
		for lang in $$(cd $$dir; ls .|grep -v man); \
		do \