From d66538b34ac735f279d3c21d83e790acc83745a1 Mon Sep 17 00:00:00 2001 From: Valentine Barshak Date: Tue, 2 Oct 2012 23:03:51 +0400 Subject: [PATCH] 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: Valentine Barshak Signed-off-by: Peter Korsgaard --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dc57cf440f..4a675d443a 100644 --- a/Makefile +++ b/Makefile @@ -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 \ -- 2.30.2