1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 00:19:01 +00:00

Don't cause an error if $LINGUAS contains a language for which we don't

have a translated man page; just skip it.
This commit is contained in:
david
2009-11-10 18:38:47 +00:00
parent 49fd8751cd
commit 04dc3ab1f3

View File

@@ -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; \