summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2015-07-13 23:00:34 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-13 23:25:58 +0200
commit36480eab8f64846004cf5c16daff9d55f8f7e31d (patch)
treebcfcb0a2033db6c5885a0401d52d65fad40d879f
parentb8da356e5d81d4e87c74c093a7d27d4dc030b87f (diff)
downloadbuildroot-36480eab8f64846004cf5c16daff9d55f8f7e31d.tar.gz
buildroot-36480eab8f64846004cf5c16daff9d55f8f7e31d.zip
purge-locales: skip /usr/man and /usr/share/man
These directories are going to be removed anyway, so no point purging their locales. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 546bcd34bf..02a1032442 100644
--- a/Makefile
+++ b/Makefile
@@ -544,7 +544,7 @@ define PURGE_LOCALES
rm -f $(LOCALE_WHITELIST)
for i in $(LOCALE_NOPURGE) locale-archive; 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 /usr/lib/locale)); \
+ for dir in $(wildcard $(addprefix $(TARGET_DIR),/usr/share/locale /usr/share/X11/locale /usr/lib/locale)); \
do \
for lang in $$(cd $$dir; ls .|grep -v man); \
do \
OpenPOWER on IntegriCloud