From 04dc3ab1f31f1c4ad7612c43a0f8a05f23d4a446 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 10 Nov 2009 18:38:47 +0000 Subject: [PATCH] Don't cause an error if $LINGUAS contains a language for which we don't have a translated man page; just skip it. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index d74e3df10..c1c534fcd 100644 --- a/Makefile.in +++ b/Makefile.in @@ -214,7 +214,7 @@ install-nmap: $(TARGET) $(STRIP) -x $(DESTDIR)$(bindir)/nmap $(INSTALL) -c -m 644 docs/$(TARGET).1 $(DESTDIR)$(mandir)/man1/ if [ "$(USE_NLS)" = "yes" ]; then \ - for ll in $(LINGUAS); do \ + for ll in $(filter $(ALL_LINGUAS),$(LINGUAS)); do \ $(INSTALL) -d $(DESTDIR)$(mandir)/$$ll/man1; \ $(INSTALL) -c -m 644 docs/$(TARGET)-$$ll.1 $(DESTDIR)$(mandir)/$$ll/man1/$(TARGET).1; \ done; \