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:
@@ -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; \
|
||||
|
||||
Reference in New Issue
Block a user