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 \