From: Valentine Barshak Date: Tue, 2 Oct 2012 19:03:51 +0000 (+0400) Subject: Makefile: Add /usr/lib/locale to target-purgelocales X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d66538b34ac735f279d3c21d83e790acc83745a1;p=buildroot.git 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 --- 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 \