mirror of
https://github.com/nmap/nmap.git
synced 2026-08-31 23:40:57 +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:
parent
49fd8751cd
commit
04dc3ab1f3
1 changed files with 1 additions and 1 deletions
|
|
@ -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; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue